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
- hack xmlrpclib so that it can marshal subclasses of built-in types (e.g., Row)
[plcapi.git]
/
PLC
/
Methods
/
GetPCUs.py
diff --git
a/PLC/Methods/GetPCUs.py
b/PLC/Methods/GetPCUs.py
index
1330baa
..
6c8731b
100644
(file)
--- a/
PLC/Methods/GetPCUs.py
+++ b/
PLC/Methods/GetPCUs.py
@@
-36,9
+36,4
@@
class GetPCUs(Method):
if not pcu_ids:
return []
- pcus = PCUs(self.api, pcu_ids).values()
-
- # Turn each PCU into a real dict
- pcus = [dict(pcu) for pcu in pcus]
-
- return pcus
+ return PCUs(self.api, pcu_ids).values()