From 244b419f3f9f099eb336bd3eb874895cc709ecff Mon Sep 17 00:00:00 2001 From: imdano <> Date: Sat, 20 Sep 2008 08:02:06 +0000 Subject: [PATCH] branches/experimental: - Fix crash in configmanager. --- wicd/configmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wicd/configmanager.py b/wicd/configmanager.py index 9a16d64..1627abc 100644 --- a/wicd/configmanager.py +++ b/wicd/configmanager.py @@ -85,7 +85,7 @@ class ConfigManager(ConfigParser): # Try to intelligently handle the type of the return value. try: ret = int(ret) - except ValueError, TypeError: + except (ValueError, TypeError): ret = stringToNone(ret) return ret