From: Tony Mack Date: Fri, 16 Nov 2012 17:19:51 +0000 (-0500) Subject: Modify except X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=00010df3fbed027dae38209c6c079edce99a0d83;p=plcapi.git Modify except --- diff --git a/PLC/Shell.py b/PLC/Shell.py index 4440979e..997fcde2 100644 --- a/PLC/Shell.py +++ b/PLC/Shell.py @@ -84,7 +84,7 @@ class Shell: self.config = self.api.config self.url = None self.server = None - except Exception, err: + except: # Try connecting to the API server via XML-RPC self.api = PLCAPI(None)