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
/
UpdateConfFile.py
diff --git
a/PLC/Methods/UpdateConfFile.py
b/PLC/Methods/UpdateConfFile.py
index
f68e0fe
..
e236ce9
100644
(file)
--- a/
PLC/Methods/UpdateConfFile.py
+++ b/
PLC/Methods/UpdateConfFile.py
@@
-18,8
+18,6
@@
class UpdateConfFile(Method):
roles = ['admin']
conf_file_fields = dict(filter(can_update, ConfFile.fields.items()))
- for field in conf_file_fields.values():
- field.optional = True
accepts = [
PasswordAuth(),