git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f8fff0
)
- turn each adddress into a real dict before returning
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 13 Oct 2006 19:20:09 +0000
(19:20 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 13 Oct 2006 19:20:09 +0000
(19:20 +0000)
PLC/Methods/GetAddresses.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/GetAddresses.py
b/PLC/Methods/GetAddresses.py
index
eea3885
..
a558f54
100644
(file)
--- a/
PLC/Methods/GetAddresses.py
+++ b/
PLC/Methods/GetAddresses.py
@@
-37,5
+37,8
@@
class GetAddresses(Method):
raise PLCInvalidArgument, "Invalid address ID(s)"
addresses = Addresses(self.api, address_id_list).values()
+
+ # Turn each address into a real dict
+ addresses = [dict(address.items) for address in addresses]
return addresses