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
- change calling convention for Add slightly; if the Add function for
[plcapi.git]
/
PLC
/
Methods
/
UpdateNode.py
diff --git
a/PLC/Methods/UpdateNode.py
b/PLC/Methods/UpdateNode.py
index
3566a42
..
4c2f284
100644
(file)
--- a/
PLC/Methods/UpdateNode.py
+++ b/
PLC/Methods/UpdateNode.py
@@
-22,8
+22,6
@@
class UpdateNode(Method):
roles = ['admin', 'pi', 'tech']
node_fields = dict(filter(can_update, Node.fields.items()))
- for field in node_fields.values():
- field.optional = True
accepts = [
PasswordAuth(),