summaryrefslogtreecommitdiff
path: root/test/py/u_boot_utils.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-07-11 09:40:38 -0400
committerTom Rini <trini@konsulko.com>2018-07-11 09:40:38 -0400
commit1703fbefd9183fffd76f4744a73f5ca9daef6313 (patch)
treed1155db77dc38ebb02aa0ee66f4559032c092d74 /test/py/u_boot_utils.py
parent421be6fca5cbe0d9dd3a10467529eed53528c258 (diff)
parent8793631ec13ee9e6c7189a7bdca38dde7b4390a8 (diff)
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'test/py/u_boot_utils.py')
-rw-r--r--test/py/u_boot_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/py/u_boot_utils.py b/test/py/u_boot_utils.py
index bb31e57b279..d68d1dd1054 100644
--- a/test/py/u_boot_utils.py
+++ b/test/py/u_boot_utils.py
@@ -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