]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-report-mirror-failure
do not require unused partial dirs in 'source' (Closes: #633510)
[apt.git] / cmdline / apt-report-mirror-failure
index 1567e78e30f751b8abe8e7c627154f8817e7e95e..7c390642a7ce8a78ed93abf2e1a77754bdd70fe8 100755 (executable)
@@ -1,11 +1,16 @@
 #!/usr/bin/python
+#
+# This is a stub that is meant to support failure reporting of 
+# mirrors to a central database
+#
+# its currently not used
 
 import sys
 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: