fix english error, display exception message
This commit is contained in:
parent
25b9a48b59
commit
16fe553f51
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ class ReplApplication(Cmd, BaseApplication):
|
|||
except CallErrors, e:
|
||||
self.bcall_errors_handler(e)
|
||||
except NotEnoughArguments, e:
|
||||
print >>sys.stderr, 'Error: no enough arguments.'
|
||||
print >>sys.stderr, 'Error: not enough arguments. %s' % str(e)
|
||||
except (KeyboardInterrupt,EOFError):
|
||||
# ^C during a command process doesn't exit application.
|
||||
print '\nAborted.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue