Skip to content

Commit

Permalink
cli: Improve representation of errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Nov 4, 2018
1 parent 5b2548c commit d1c5324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecleankernel/cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# vim:fileencoding=utf-8
# (c) 2011 Michał Górny <mgorny@gentoo.org>
# (c) 2011-2018 Michał Górny <mgorny@gentoo.org>
# Released under the terms of the 2-clause BSD license.

from __future__ import print_function
Expand Down Expand Up @@ -262,7 +262,7 @@ def main(argv):
if hasattr(e, 'friendly_desc'):
print(e.friendly_desc)
else:
print(' %s' % e)
print(' %r' % e)

print('''
If you believe that the mentioned issue is a bug, please report it
Expand Down

0 comments on commit d1c5324

Please sign in to comment.