- hack xmlrpclib so that it can marshal subclasses of built-in types (e.g., Row)
[plcapi.git] / PLC / Methods / GetNodeGroups.py
index c9c0b62..07af57a 100644 (file)
@@ -22,10 +22,4 @@ class GetNodeGroups(Method):
     returns = [NodeGroup.fields]
   
     def call(self, auth, nodegroup_id_or_name_list = None):
-        # Get node group details
-       nodegroups = NodeGroups(self.api, nodegroup_id_or_name_list).values()
-
-       # Turn each nodegroup into a real dict.
-        nodegroups = [dict(nodegroup) for nodegroup in nodegroups]
-
-        return nodegroups
+       return NodeGroups(self.api, nodegroup_id_or_name_list).values()