Start Python 3.0 decoding

Fix some Python 3.1 bugs
This commit is contained in:
rocky
2016-10-24 02:11:26 -04:00
parent 0480455ae1
commit b54a19c6ff
8 changed files with 38 additions and 7 deletions

View File

@@ -64,7 +64,9 @@ def usage():
def main_bin():
if not (sys.version_info[0:2] in ((2, 6), (2, 7), (3, 2), (3, 3), (3, 4), (3, 5), (3, 6))):
if not (sys.version_info[0:2] in ((2, 6), (2, 7),
(3, 2), (3, 3),
(3, 4), (3, 5), (3, 6))):
print('Error: %s requires Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, or 3.6' % program,
file=sys.stderr)
sys.exit(-1)