_rlcompleter: re-raise exception with plain 'raise', not 'raise e'
This commit is contained in:
parent
22bc382543
commit
25afce41fb
|
@ -40,7 +40,7 @@ class CodeInputter(object):
|
||||||
# makes debugging challenging
|
# makes debugging challenging
|
||||||
print("completer exception: %s" % e)
|
print("completer exception: %s" % e)
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
raise e
|
raise
|
||||||
|
|
||||||
def _wrapped_completer(self, text, state):
|
def _wrapped_completer(self, text, state):
|
||||||
self.used_completion = True
|
self.used_completion = True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user