Fix up Python 3.2, 3.3, and 3.4 cross-version scanners

Try travis 2.6 and 3.3
This commit is contained in:
rocky
2015-12-26 10:19:26 -05:00
parent e8ee3ac751
commit 008bd79719
30 changed files with 864 additions and 571 deletions

View File

@@ -42,8 +42,8 @@ PYTHON_VERSION_STR = "%s.%s" % (sys.version_info[0], sys.version_info[1])
sys.setrecursionlimit(5000)
def check_python_version(program):
if not (sys.version_info[0:2] in ((2, 6), (2, 7), (3, 4))):
print('Error: %s requires %s Python 2.6, 2.7 or 3.4' % program,
if not (sys.version_info[0:2] in ((2, 6), (2, 7), (3, 2), (3, 3), (3, 4))):
print('Error: %s requires Python 2.6, 2.7, 3.2, 3.3, or 3.4' % program,
file=sys.stderr)
sys.exit(-1)
return