more ocaml for plc is a good thing, but not in Python code ;)
[plcapi.git] / 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):