X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/f0b509cdb44cb5e79e9c5ddd7ebec46965138534..bdc00df54d97c2825ce37dd1c249f633f199a80b:/cmdline/apt-report-mirror-failure?ds=sidebyside diff --git a/cmdline/apt-report-mirror-failure b/cmdline/apt-report-mirror-failure index fb43f0e74..7c390642a 100755 --- a/cmdline/apt-report-mirror-failure +++ b/cmdline/apt-report-mirror-failure @@ -1,12 +1,17 @@ #!/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", - "http://people.ubuntu.com:9000/mirror-failure") +url = apt_pkg.Config.find("Acquire::Mirror::ReportFailures", "") + #"http://people.ubuntu.com:9000/mirror-failure") #"http://localhost:9000/mirror-failure") if not url: sys.exit(0)