From f5b0dff0ebde4366af74ae6a0d894bf7893f95f4 Mon Sep 17 00:00:00 2001 From: Baris Metin Date: Mon, 11 Apr 2011 15:06:24 -0400 Subject: [PATCH] more ocaml for plc is a good thing, but not in Python code ;) --- PLC/Methods/GetSlivers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.43.0