Except for 2.4

This commit is contained in:
rocky
2019-07-04 10:24:08 -04:00
parent cb5d4f4989
commit 43b1981244

View File

@@ -282,7 +282,7 @@ def main(in_base, out_base, compiled_files, source_files, outfile=None,
sys.stdout.write("\n")
sys.stderr.write("\nLast file: %s " % (infile))
raise
except RuntimeError, e:
except RuntimeError(e):
sys.stdout.write("\n%s\n" % str(e))
if str(e).startswith('Unsupported Python'):
sys.stdout.write("\n")