]> git.sur5r.net Git - u-boot/blobdiff - test/py/u_boot_utils.py
Merge git://git.denx.de/u-boot-dm
[u-boot] / test / py / u_boot_utils.py
index bb31e57b279993e3de4055bee6d0ff6a2a8d1dd0..d68d1dd10541d963e93c610d9a684330c72c9830 100644 (file)
@@ -120,7 +120,7 @@ def wait_until_open_succeeds(fn):
         An open file handle to the file.
     """
 
-    for i in xrange(100):
+    for i in range(100):
         fh = attempt_to_open_file(fn)
         if fh:
             return fh
@@ -143,7 +143,7 @@ def wait_until_file_open_fails(fn, ignore_errors):
         Nothing.
     """
 
-    for i in xrange(100):
+    for i in range(100):
         fh = attempt_to_open_file(fn)
         if not fh:
             return