blind 2to3
[plcapi.git] / PLC / Methods / BootGetNodeDetails.py
index dc52c09..1009dcb 100644 (file)
@@ -1,4 +1,3 @@
-# $Id#
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
 from PLC.Auth import BootAuth
@@ -45,12 +44,11 @@ class BootGetNodeDetails(Method):
             for network in details['networks']:
                 for field in network:
                     if network[field] is None:
-                        if isinstance(network[field], (int, long)):
+                        if isinstance(network[field], int):
                             network[field] = -1
                         else:
                             network[field] = ""
 
-       self.message = "Node request boot_state (%s) and networks" % \
-               (details['boot_state'])
+        self.message = "Node request boot_state (%s) and networks" % \
+                (details['boot_state'])
         return details
-