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
/
UpdatePCU.py
diff --git
a/PLC/Methods/UpdatePCU.py
b/PLC/Methods/UpdatePCU.py
index
5980f0c
..
e22227b
100644
(file)
--- a/
PLC/Methods/UpdatePCU.py
+++ b/
PLC/Methods/UpdatePCU.py
@@
-33,7
+33,7
@@
class UpdatePCU(Method):
pcu_fields = dict(filter(can_update, pcu_fields.items()))
# Get associated PCU details
- pcus = PCUs(self.api, [pcu_id])
.values()
+ pcus = PCUs(self.api, [pcu_id])
if not pcus:
raise PLCInvalidArgument, "No such PCU"
pcu = pcus[0]