Patch for Python 2.6

This commit is contained in:
Miroslav Stampar
2019-03-28 22:54:05 +01:00
parent f8eed1f365
commit 09be7cb361
14 changed files with 14 additions and 14 deletions

View File

@@ -109,7 +109,7 @@ except ImportError:
import sys, types, copy, re, random
if sys.version_info.major > 2:
if sys.version_info >= (3, 0):
xrange = range
# monkeypatch to fix http://www.python.org/sf/803422 :-(