git://git.novaco.in
/
electrum-nvc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
replace BaseException with Exception
[electrum-nvc.git]
/
electrum
diff --git
a/electrum
b/electrum
index
8cdabcb
..
32c5411
100755
(executable)
--- a/
electrum
+++ b/
electrum
@@
-103,7
+103,7
@@
def run_command(cmd, password = None, args = []):
cmd_runner.password = password
try:
result = func(*args[1:])
- except BaseException, e:
+ except Exception as e:
import traceback
traceback.print_exc(file=sys.stdout)
sys.exit(1)