git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more ocaml for plc is a good thing, but not in Python code ;)
[plcapi.git]
/
PLC
/
Methods
/
GetSlivers.py
diff --git
a/PLC/Methods/GetSlivers.py
b/PLC/Methods/GetSlivers.py
index
25ea00a
..
6825909
100644
(file)
--- 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):