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
- re-enable return_fields specification
[plcapi.git]
/
PLC
/
Methods
/
DeleteNodeGroup.py
diff --git
a/PLC/Methods/DeleteNodeGroup.py
b/PLC/Methods/DeleteNodeGroup.py
index
d6de9b7
..
59615f3
100644
(file)
--- a/
PLC/Methods/DeleteNodeGroup.py
+++ b/
PLC/Methods/DeleteNodeGroup.py
@@
-29,7
+29,7
@@
class DeleteNodeGroup(Method):
if not nodegroups:
raise PLCInvalidArgument, "No such node group"
- nodegroup = nodegroups
.values()
[0]
+ nodegroup = nodegroups[0]
nodegroup.delete()