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
/
AdmGetPowerControlUnitNodes.py
diff --git
a/PLC/Methods/AdmGetPowerControlUnitNodes.py
b/PLC/Methods/AdmGetPowerControlUnitNodes.py
index
7319e68
..
af298ee
100644
(file)
--- a/
PLC/Methods/AdmGetPowerControlUnitNodes.py
+++ b/
PLC/Methods/AdmGetPowerControlUnitNodes.py
@@
-28,7
+28,7
@@
class AdmGetPowerControlUnitNodes(Method):
'port_number': Parameter(int, "Port number")}]
def call(self, auth, pcu_id):
- pcus = PCUs(self.api, [pcu_id])
.values()
+ pcus = PCUs(self.api, [pcu_id])
if not pcus:
raise PLCInvalidArgument, "No such PCU"
pcu = pcus[0]