euscan: tweak error paths

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
Corentin Chary committed 2012-01-02 21:31:05 +01:00
1 parent 2bd012ef82
commit 72e43ac4fe
3 files changed
+7 -3

No files matched your search

+2 -2
View File
@@ -220,9 +220,9 @@ def main():
file=sys.stderr, end="")
pp.die(1, "one of the above fully-qualified ebuild names instead.")
except GentoolkitException as err:
pp.die(1, str(err))
pp.die(1, '%s: %s' % (package, str(err)))
except Exception as err:
pp.die(1, str(err))
pp.die(1, '%s: %s' % (package, str(err)))
if not CONFIG['quiet']:
print ()