summaryrefslogtreecommitdiff
path: root/cmdline/report-mirror-failure
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline/report-mirror-failure')
-rwxr-xr-xcmdline/report-mirror-failure21
1 files changed, 0 insertions, 21 deletions
diff --git a/cmdline/report-mirror-failure b/cmdline/report-mirror-failure
deleted file mode 100755
index 8301ed079..000000000
--- a/cmdline/report-mirror-failure
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/python
-
-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")
- #"http://localhost:9000/mirror-failure")
-if not url:
- sys.exit(0)
-
-data = {}
-data['url'] = sys.argv[1]
-data['error'] = sys.argv[2]
-f = urllib.urlopen(url, urllib.urlencode(data))
-f.read()
-f.close()
-
-