git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
603e07b
)
more ocaml for plc is a good thing, but not in Python code ;)
author
Baris Metin
<bmetin@verivue.com>
Mon, 11 Apr 2011 19:06:24 +0000
(15:06 -0400)
committer
Baris Metin
<bmetin@verivue.com>
Mon, 11 Apr 2011 19:12:27 +0000
(15:12 -0400)
PLC/Methods/GetSlivers.py
patch
|
blob
|
history
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):