[Collab-qa-commits] r2461 - multi-arch
Jakub Wilk
jwilk at alioth.debian.org
Wed Aug 29 06:46:45 UTC 2012
Author: jwilk
Date: 2012-08-29 06:46:45 +0000 (Wed, 29 Aug 2012)
New Revision: 2461
Modified:
multi-arch/report-multiarch-bug
Log:
Make error messages look more consistently.
Modified: multi-arch/report-multiarch-bug
===================================================================
--- multi-arch/report-multiarch-bug 2012-08-29 06:44:11 UTC (rev 2460)
+++ multi-arch/report-multiarch-bug 2012-08-29 06:46:45 UTC (rev 2461)
@@ -185,7 +185,7 @@
except VersionError as exc:
parser.error(exc)
except UserError as exc:
- print('Error: {exc}'.format(exc=exc), file=sys.stderr)
+ print('{prog}: error: {exc}'.format(prog=parser.prog, exc=exc), file=sys.stderr)
sys.exit(1)
# vim:ts=4 sw=4 et
More information about the Collab-qa-commits
mailing list