Blob Blame History Raw
diff -up system-config-network-1.5.99/src/netconfpkg/NCDevice.py.NoneIPLen system-config-network-1.5.99/src/netconfpkg/NCDevice.py
--- system-config-network-1.5.99/src/netconfpkg/NCDevice.py.NoneIPLen	2009-08-12 16:28:33.000000000 +0200
+++ system-config-network-1.5.99/src/netconfpkg/NCDevice.py	2009-12-07 11:05:08.000000000 +0100
@@ -390,10 +390,10 @@ class Device(Device_base):
         conf.fsf()
 
         if self.BootProto == None:
-            if len(self.IP):
+            if self.IP:
                 self.BootProto = "none"
             else:
-                self.BootProto = 'dhcp'                
+                self.BootProto = 'dhcp'
 
         if self.BootProto:
             self.BootProto = self.BootProto.lower()