Mercurial > public > mercurial-scm > hg
comparison contrib/byteify-strings.py @ 43407:09234eeae206 stable
contrib: require Python 3.7 for byteify-strings.py
bb509f39d387 made an error, it's actually 3.7 that introduced token.COMMENT.
Differential Revision: https://phab.mercurial-scm.org/D7220
author | Ian Moody <moz-ian@perix.co.uk> |
---|---|
date | Mon, 04 Nov 2019 19:19:36 +0000 |
parents | bb509f39d387 |
children | bc9a9016467d |
comparison
equal
deleted
inserted
replaced
43406:c3bca833cb92 | 43407:09234eeae206 |
---|---|
337 fout = sys.stdout.buffer | 337 fout = sys.stdout.buffer |
338 process(fin, fout, opts) | 338 process(fin, fout, opts) |
339 | 339 |
340 | 340 |
341 if __name__ == '__main__': | 341 if __name__ == '__main__': |
342 if sys.version_info[0:2] < (3, 6): | 342 if sys.version_info[0:2] < (3, 7): |
343 print('This script must be run under Python 3.6+') | 343 print('This script must be run under Python 3.7+') |
344 sys.exit(3) | 344 sys.exit(3) |
345 main() | 345 main() |