]>
git.saurik.com Git - apt.git/blob - cmdline/apt-report-mirror-failure
8 url
= apt_pkg
.Config
.Find("Acquire::Mirror::ReportFailures", "")
9 #"http://people.ubuntu.com:9000/mirror-failure")
10 #"http://localhost:9000/mirror-failure")
14 print "Reporting mirror failure to '%s'" % url
17 data
['mirror'] = sys
.argv
[1]
18 data
['failurl'] = sys
.argv
[2]
19 data
['error'] = sys
.argv
[3]
20 f
= urllib
.urlopen(url
, urllib
.urlencode(data
))