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
/
GetNetworkTypes.py
diff --git
a/PLC/Methods/GetNetworkTypes.py
b/PLC/Methods/GetNetworkTypes.py
index
ed6ec88
..
7187d21
100644
(file)
--- a/
PLC/Methods/GetNetworkTypes.py
+++ b/
PLC/Methods/GetNetworkTypes.py
@@
-18,4
+18,4
@@
class GetNetworkTypes(Method):
returns = [NetworkType.fields['type']]
def call(self, auth):
- return [network_type['type'] for network_type in NetworkTypes(self.api)
.values()
]
+ return [network_type['type'] for network_type in NetworkTypes(self.api)]