Modify except
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Fri, 16 Nov 2012 17:19:51 +0000 (12:19 -0500)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Fri, 16 Nov 2012 17:19:51 +0000 (12:19 -0500)
PLC/Shell.py

index 4440979..997fcde 100644 (file)
@@ -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)