summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-03-19 15:42:25 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2009-03-19 15:42:25 +0100
commit5dad4134da37576de12721f34165c1fe4d138b3c (patch)
tree1285f93bae65076be5354131eb6d48e1bb855564 /cmdline
parent5ef499349c609f5ef50bd633692faa2665f4f96f (diff)
* methods/mirror.cc:
- when download the mirror file and the server is down, return a propper error message (LP: #278635)
Diffstat (limited to 'cmdline')
-rwxr-xr-xcmdline/apt-report-mirror-failure2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-report-mirror-failure b/cmdline/apt-report-mirror-failure
index 1567e78e3..ef77d4954 100755
--- a/cmdline/apt-report-mirror-failure
+++ b/cmdline/apt-report-mirror-failure
@@ -5,7 +5,7 @@ import urllib
import apt_pkg
apt_pkg.init()
-url = apt_pkg.Config.Find("Acquire::Mirror::ReportFailures", None)
+url = apt_pkg.Config.Find("Acquire::Mirror::ReportFailures", "")
#"http://people.ubuntu.com:9000/mirror-failure")
#"http://localhost:9000/mirror-failure")
if not url: