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:
d5d4f1f
)
hotfix: slice_tags is a list of Table dictionary entries and slice_tag['tagname'...
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Fri, 29 May 2009 20:54:46 +0000
(20:54 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Fri, 29 May 2009 20:54:46 +0000
(20:54 +0000)
PLC/Methods/GetSlivers.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/GetSlivers.py
b/PLC/Methods/GetSlivers.py
index
9fc24ea
..
ced6fc6
100644
(file)
--- a/
PLC/Methods/GetSlivers.py
+++ b/
PLC/Methods/GetSlivers.py
@@
-80,7
+80,7
@@
def get_slivers(api, slice_filter, node = None):
# Do not set any nodegroup slice attributes for
# which there is at least one sliver attribute
# already set.
- if slice_tag
['tagname']
not in slice_tags:
+ if slice_tag not in slice_tags:
attributes.append({'tagname': slice_tag['tagname'],
'value': slice_tag['value']})