still making both branches closer
[nepi.git] / test / lib / test_utils.py
index c6a08d3..cd67dcd 100644 (file)
@@ -76,7 +76,7 @@ def skipIfAnyNotAlive(func):
         argss = list(args)
         argss.pop(0)
 
-        for i in xrange(len(argss)/2):
+        for i in range(len(argss)/2):
             username = argss[i*2]
             hostname = argss[i*2+1]
             node, ec = create_node(hostname, username)
@@ -95,7 +95,7 @@ def skipIfAnyNotAliveWithIdentity(func):
     def wrapped(*args, **kwargs):
         argss = list(args)
         argss.pop(0)
-        for i in xrange(len(argss)/3):
+        for i in range(len(argss)/3):
             username = argss[i*3]
             hostname = argss[i*3+1]
             identity = argss[i*3+2]