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
/
UpdateAddress.py
diff --git
a/PLC/Methods/UpdateAddress.py
b/PLC/Methods/UpdateAddress.py
index
e6885d9
..
c0687b6
100644
(file)
--- a/
PLC/Methods/UpdateAddress.py
+++ b/
PLC/Methods/UpdateAddress.py
@@
-21,8
+21,6
@@
class UpdateAddress(Method):
roles = ['admin', 'pi']
address_fields = dict(filter(can_update, Address.fields.items()))
- for field in address_fields.values():
- field.optional = True
accepts = [
PasswordAuth(),