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
just autopep8'ed refreshpeer
[plcapi.git]
/
PLC
/
Methods
/
GetNodeTypes.py
diff --git
a/PLC/Methods/GetNodeTypes.py
b/PLC/Methods/GetNodeTypes.py
index
243fbe1
..
1810343
100644
(file)
--- a/
PLC/Methods/GetNodeTypes.py
+++ b/
PLC/Methods/GetNodeTypes.py
@@
-1,4
+1,3
@@
-# $Id$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
@@
-17,7
+16,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)]