[Secure-testing-commits] r10581 - bin
fw at alioth.debian.org
fw at alioth.debian.org
Tue Dec 2 21:13:10 UTC 2008
Author: fw
Date: 2008-12-02 21:13:10 +0000 (Tue, 02 Dec 2008)
New Revision: 10581
Modified:
bin/apt-update-file
Log:
bin/apt-update-file: In case of an error, print source and target
Modified: bin/apt-update-file
===================================================================
--- bin/apt-update-file 2008-12-02 21:13:07 UTC (rev 10580)
+++ bin/apt-update-file 2008-12-02 21:13:10 UTC (rev 10581)
@@ -26,4 +26,10 @@
sys.stderr.write("usage: apt-update-file REMOTE LOCAL\n")
sys.exit(1)
-debian_support.updateFile(sys.argv[1], sys.argv[2])
+try:
+ debian_support.updateFile(sys.argv[1], sys.argv[2])
+except:
+ print >>sys.stderr, \
+ "error: in download of %s to %s:" % (repr(sys.argv[1]),
+ repr(sys.argv[2]))
+ raise
More information about the Secure-testing-commits
mailing list