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
(*) Peer has new fields person_ids and site_ids
[plcapi.git]
/
PLC
/
Methods
/
DeleteNode.py
diff --git
a/PLC/Methods/DeleteNode.py
b/PLC/Methods/DeleteNode.py
index
64f149a
..
0f07230
100644
(file)
--- a/
PLC/Methods/DeleteNode.py
+++ b/
PLC/Methods/DeleteNode.py
@@
-32,6
+32,7
@@
class DeleteNode(Method):
raise PLCInvalidArgument, "No such node"
node = nodes[0]
+ PLCCheckLocalNode(node,"DeleteNode")
# If we are not an admin, make sure that the caller is a
# member of the site at which the node is located.