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
This commit was manufactured by cvs2svn to create branch
[plcapi.git]
/
PLC
/
Methods
/
DeleteNodeGroup.py
diff --git
a/PLC/Methods/DeleteNodeGroup.py
b/PLC/Methods/DeleteNodeGroup.py
index
bed1dfb
..
7606607
100644
(file)
--- a/
PLC/Methods/DeleteNodeGroup.py
+++ b/
PLC/Methods/DeleteNodeGroup.py
@@
-33,6
+33,9
@@
class DeleteNodeGroup(Method):
nodegroup = nodegroups[0]
nodegroup.delete()
- self.object_ids = [nodegroup['nodegroup_id']]
+ # Logging variables
+ self.object_ids = [nodegroup['nodegroup_id']]
+ self.message = 'Node group %d deleted' % nodegroup['nodegroup_id']
+
return 1