summaryrefslogtreecommitdiffstats
path: root/meta/recipes-rt
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-20 11:56:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-02 08:10:02 +0100
commitd022b4335100612d6596cc4c4956cb98ed5873cc (patch)
tree780b94cdc6243da09c06864537f251dec45a8287 /meta/recipes-rt
parentcaebd862bac7eed725e0f0321bf50793671b5312 (diff)
downloadopenembedded-core-d022b4335100612d6596cc4c4956cb98ed5873cc.tar.gz
openembedded-core-d022b4335100612d6596cc4c4956cb98ed5873cc.tar.bz2
openembedded-core-d022b4335100612d6596cc4c4956cb98ed5873cc.zip
classes/lib: Update xrange -> range for python3
xrange() no longer exists in python 3, use range() Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-rt')
-rwxr-xr-xmeta/recipes-rt/rt-tests/files/rt_bmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-rt/rt-tests/files/rt_bmark.py b/meta/recipes-rt/rt-tests/files/rt_bmark.py
index e2280e43e2..0e2b105e34 100755
--- a/meta/recipes-rt/rt-tests/files/rt_bmark.py
+++ b/meta/recipes-rt/rt-tests/files/rt_bmark.py
@@ -324,7 +324,7 @@ def run_cyclictest_suite():
t = time.time()
max_list = []
- for i in xrange(0, suite_size):
+ for i in range(0, suite_size):
tmp_min, tmp_avg, tmp_max = run_cyclictest_once()
msg = "%2d/%2d:" % (i+1, suite_size)