cosmetic
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 27 Sep 2010 08:06:25 +0000 (10:06 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 27 Sep 2010 08:06:25 +0000 (10:06 +0200)
system/TestResources.py

index bc928ac..7b14544 100644 (file)
@@ -49,8 +49,7 @@ class TestResources:
         node_map = []
         qemu_pool = TestPoolQemu (self.qemus_ip_pool(), options)
 
-        for index in range(options.size):
-            index += 1
+        for index in range(1,options.size+1):
             if options.ips_qemu:
                 ip_or_hostname=options.ips_qemu.pop()
                 (hostname,ip,unused)=qemu_pool.locate_entry(ip_or_hostname)