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
- Change .py files to use 4-space indents and no hard tab characters.
[plcapi.git]
/
PLC
/
Methods
/
GetNodeTypes.py
diff --git
a/PLC/Methods/GetNodeTypes.py
b/PLC/Methods/GetNodeTypes.py
index
6f90469
..
c8f1aeb
100644
(file)
--- a/
PLC/Methods/GetNodeTypes.py
+++ b/
PLC/Methods/GetNodeTypes.py
@@
-18,7
+18,7
@@
class GetNodeTypes(Method):
]
returns = [NodeType.fields['node_type']]
-
+
def call(self, auth):
return [node_type['node_type'] for node_type in NodeTypes(self.api)]