From 50064d20fd46c827e88cc4bee82d3d7d7a58eba9 Mon Sep 17 00:00:00 2001 From: thomasv Date: Mon, 19 Nov 2012 14:12:49 +0100 Subject: [PATCH] Revert "added TypeError category to existing exception" This reverts commit 86da219fb9a1bb48d83fb4902550fa0432d24353. --- lib/simple_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simple_config.py b/lib/simple_config.py index ee965052..7186cba8 100644 --- a/lib/simple_config.py +++ b/lib/simple_config.py @@ -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