diff 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
line wrap: on
line diff
--- a/contrib/byteify-strings.py	Mon Nov 04 12:20:11 2019 -0500
+++ b/contrib/byteify-strings.py	Mon Nov 04 19:19:36 2019 +0000
@@ -339,7 +339,7 @@
 
 
 if __name__ == '__main__':
-    if sys.version_info[0:2] < (3, 6):
-        print('This script must be run under Python 3.6+')
+    if sys.version_info[0:2] < (3, 7):
+        print('This script must be run under Python 3.7+')
         sys.exit(3)
     main()