more ocaml for plc is a good thing, but not in Python code ;)
authorBaris Metin <bmetin@verivue.com>
Mon, 11 Apr 2011 19:06:24 +0000 (15:06 -0400)
committerBaris Metin <bmetin@verivue.com>
Mon, 11 Apr 2011 19:12:27 +0000 (15:12 -0400)
PLC/Methods/GetSlivers.py

index 25ea00a..6825909 100644 (file)
@@ -212,7 +212,7 @@ class GetSlivers(Method):
     def call(self, auth, node_id_or_hostname = None):
         try:
             cache_opt = self.api.config.PLC_GETSLIVERS_CACHE
-        with AttributeError:
+        except AttributeError:
             cache_opt = False
 
         if (cache_opt):