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
/
DeletePCU.py
diff --git
a/PLC/Methods/DeletePCU.py
b/PLC/Methods/DeletePCU.py
index
4b50a3f
..
01382b1
100644
(file)
--- a/
PLC/Methods/DeletePCU.py
+++ b/
PLC/Methods/DeletePCU.py
@@
-24,7
+24,7
@@
class DeletePCU(Method):
def call(self, auth, pcu_id):
# 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]