projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
trigger the usage of the fallback code for kfreebsd also in the
[apt.git]
/
cmdline
/
apt-report-mirror-failure
diff --git
a/cmdline/apt-report-mirror-failure
b/cmdline/apt-report-mirror-failure
index ef77d4954e14710e28878a2c32e3aae51cf0790c..7c390642a7ce8a78ed93abf2e1a77754bdd70fe8 100755
(executable)
--- a/
cmdline/apt-report-mirror-failure
+++ b/
cmdline/apt-report-mirror-failure
@@
-1,11
+1,16
@@
#!/usr/bin/python
#!/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()
import sys
import urllib
import apt_pkg
apt_pkg.init()
-url = apt_pkg.Config.
F
ind("Acquire::Mirror::ReportFailures", "")
+url = apt_pkg.Config.
f
ind("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: