git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2d13107
)
changed a couple exceptions to describe import errors
author
Jimbo77
<onlineregular@gmail.com>
Mon, 19 Nov 2012 00:56:17 +0000 (16:56 -0800)
committer
Jimbo77
<onlineregular@gmail.com>
Mon, 19 Nov 2012 00:56:17 +0000 (16:56 -0800)
lib/simple_config.py
patch
|
blob
|
history
diff --git
a/lib/simple_config.py
b/lib/simple_config.py
index
b28f33a
..
025c7bc
100644
(file)
--- a/
lib/simple_config.py
+++ b/
lib/simple_config.py
@@
-105,7
+105,7
@@
class SimpleConfig:
if os.path.exists(name):
try:
import ConfigParser
- except:
+ except ImportError:
print "cannot parse electrum.conf. please install ConfigParser"
return
@@
-125,7
+125,7
@@
class SimpleConfig:
if os.path.exists(name):
try:
import ConfigParser
- except:
+ except ImportError:
print "cannot parse electrum.conf. please install ConfigParser"
return