]> git.sur5r.net Git - u-boot/blobdiff - test/py/u_boot_console_sandbox.py
test/py: Use range() rather than xrange()
[u-boot] / test / py / u_boot_console_sandbox.py
index c901397e1c1fedc8e555a58a1d47d7046a092f31..778f6d0983d621e86a16ae825d20dc5b5ee7defc 100644 (file)
@@ -81,7 +81,7 @@ class ConsoleSandbox(ConsoleBase):
 
         p = self.p
         self.p = None
-        for i in xrange(100):
+        for i in range(100):
             ret = not p.isalive()
             if ret:
                 break