X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/5292fdba6e4cf5846720b2af69129d30d02ab8ad..c1e0a100d11e6e6d529d9f52375f979a9dbd4d04:/cmdline/apt-report-mirror-failure diff --git a/cmdline/apt-report-mirror-failure b/cmdline/apt-report-mirror-failure index 1567e78e3..7c390642a 100755 --- a/cmdline/apt-report-mirror-failure +++ b/cmdline/apt-report-mirror-failure @@ -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: