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
- re-enable return_fields specification
[plcapi.git]
/
PLC
/
Methods
/
UpdateKey.py
diff --git
a/PLC/Methods/UpdateKey.py
b/PLC/Methods/UpdateKey.py
index
19acbe3
..
5f6ecc4
100644
(file)
--- a/
PLC/Methods/UpdateKey.py
+++ b/
PLC/Methods/UpdateKey.py
@@
-33,7
+33,7
@@
class UpdateKey(Method):
key_fields = dict(filter(can_update, key_fields.items()))
# Get key information
- keys = Keys(self.api, [key_id])
.values()
+ keys = Keys(self.api, [key_id])
if not keys:
raise PLCInvalidArgument, "No such key"
key = keys[0]