]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-report-mirror-failure
cmdline/apt-report-mirror-failure: port to latest python-apt
[apt.git] / cmdline / apt-report-mirror-failure
index 1567e78e30f751b8abe8e7c627154f8817e7e95e..e8ffdc2c7a1a9141321ddf41661a56db71f05451 100755 (executable)
@@ -5,7 +5,7 @@ import urllib
 import apt_pkg
 
 apt_pkg.init()
 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:
                           #"http://people.ubuntu.com:9000/mirror-failure")
                           #"http://localhost:9000/mirror-failure")
 if not url: