From: Baris Metin Date: Mon, 11 Apr 2011 19:06:24 +0000 (-0400) Subject: more ocaml for plc is a good thing, but not in Python code ;) X-Git-Tag: plcapi-5.0-33~13 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=f5b0dff0ebde4366af74ae6a0d894bf7893f95f4;p=plcapi.git more ocaml for plc is a good thing, but not in Python code ;) --- diff --git a/PLC/Methods/GetSlivers.py b/PLC/Methods/GetSlivers.py index 25ea00a..6825909 100644 --- a/PLC/Methods/GetSlivers.py +++ b/PLC/Methods/GetSlivers.py @@ -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):