minor update
authorTony Mack <tmack@cs.princeton.edu>
Fri, 18 Apr 2008 16:04:48 +0000 (16:04 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 18 Apr 2008 16:04:48 +0000 (16:04 +0000)
system/config_1vservers.py

index 853cf02..7e31b55 100644 (file)
@@ -19,7 +19,7 @@ def config (plcs,options):
     plc_counter=0
     for plc in plcs:
         try:
-            if len (options.ips != 0):
+            if len(options.ips) != 0:
                 ip=options.ips[0]
                 options.ips=options.ips[1:]
                 (hostname,ip,mac)=test_pool.locate(ip)