Browse Source

No xrange in python3

somov 1 year ago
parent
commit
2ba44121fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      library/python/windows/__init__.py

+ 1 - 1
library/python/windows/__init__.py

@@ -143,7 +143,7 @@ if on_win():
             winerrors = (winerrors,)
 
         ei = None
-        for t in xrange(tries):
+        for t in range(tries):
             if t:
                 logger.debug('Diehard [errs %s]: try #%d in %s', ','.join(str(x) for x in winerrors), t, f)
             try: