tadded 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 86da219fb9a1bb48d83fb4902550fa0432d24353 DIR parent 4a85b9db62f9fbfe4f763dd680d71389303740e2 HTML Author: Jimbo77 <onlineregular@gmail.com> Date: Sun, 18 Nov 2012 20:32:21 -0800 added TypeError category to existing exception 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@@ -83,7 +83,7 @@ class SimpleConfig: import ast try: out = ast.literal_eval(out) - except: + except TypeError: print "type error, using default value" out = default