X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FGetNodeTypes.py;h=1810343468412a098d2a781b7fdd9b7610d89d92;hb=475ee53aaaa011ba14a34af34d3340257d6f9d59;hp=243fbe1f0ba9eca93c6c72e48c6d40eb03a51bed;hpb=9765fce9ee4b154e25dbb1450377849401df2668;p=plcapi.git diff --git a/PLC/Methods/GetNodeTypes.py b/PLC/Methods/GetNodeTypes.py index 243fbe1..1810343 100644 --- 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)]