commit 86da219fb9a1bb48d83fb4902550fa0432d24353
parent 4a85b9db62f9fbfe4f763dd680d71389303740e2
Author: Jimbo77 <onlineregular@gmail.com>
Date: Sun, 18 Nov 2012 20:32:21 -0800
added TypeError category to existing exception
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/simple_config.py b/lib/simple_config.py
@@ -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