- hack xmlrpclib so that it can marshal subclasses of built-in types (e.g., Row)
[plcapi.git] / PLC / Methods / GetNodeNetworks.py
index 9d0b4df..fda60a3 100644 (file)
@@ -22,9 +22,4 @@ class GetNodeNetworks(Method):
     returns = [NodeNetwork.fields]
 
     def call(self, auth, nodenetwork_id_or_ip_list = None):
-        nodenetworks = NodeNetworks(self.api, nodenetwork_id_or_ip_list).values()
-
-        # Cast from NodeNetwork to real dict
-        nodenetworks = [dict(nodenetwork) for nodenetwork in nodenetworks]
-               
-       return nodenetworks
+        return NodeNetworks(self.api, nodenetwork_id_or_ip_list).values()