tRevert "added TypeError category to existing exception" - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 50064d20fd46c827e88cc4bee82d3d7d7a58eba9
DIR parent f7c3b2f06732bf2bfa1bd085d60b739b8505942b
HTML Author: thomasv <thomasv@gitorious>
Date: Mon, 19 Nov 2012 14:12:49 +0100
Revert "added TypeError category to existing exception"
This reverts commit 86da219fb9a1bb48d83fb4902550fa0432d24353.
Diffstat:
M lib/simple_config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/simple_config.py b/lib/simple_config.py
t@@ -88,7 +88,7 @@ a SimpleConfig instance then reads the wallet file.
import ast
try:
out = ast.literal_eval(out)
- except TypeError:
+ except:
print "type error, using default value"
out = default