diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-02-05 19:06:42 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-02-05 19:06:42 +0100 |
commit | f0b509cdb44cb5e79e9c5ddd7ebec46965138534 (patch) | |
tree | f6ec16d25933148a946360098a4dcc29e129814e /cmdline/apt-report-mirror-failure | |
parent | 066b53e95ba224f81d078e7d8df3002275f8a092 (diff) |
* apt-pkg/acquire-item.cc:
- use FailReason in pkgAcquire::Item::Failed when available
* methods/mirror.cc:
- move some debug output into if(Debug)
Diffstat (limited to 'cmdline/apt-report-mirror-failure')
-rwxr-xr-x | cmdline/apt-report-mirror-failure | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmdline/apt-report-mirror-failure b/cmdline/apt-report-mirror-failure index 277b23e9a..fb43f0e74 100755 --- a/cmdline/apt-report-mirror-failure +++ b/cmdline/apt-report-mirror-failure @@ -14,8 +14,9 @@ if not url: print "Reporting mirror failure to '%s'" % url data = {} -data['url'] = sys.argv[1] -data['error'] = sys.argv[2] +data['mirror'] = sys.argv[1] +data['failurl'] = sys.argv[2] +data['error'] = sys.argv[3] f = urllib.urlopen(url, urllib.urlencode(data)) f.read() f.close() |