setup: write version constant as bytes literal
authorYuya Nishihara <yuya@tcha.org>
Fri, 01 Jun 2018 23:02:36 +0900
changeset 38207 db9d1dd01bf0
parent 38206 273ce823ba5c
child 38208 b10a9ace2738
setup: write version constant as bytes literal Spotted while bulk-rewriting string literals to b''s.
setup.py
--- a/setup.py	Thu May 31 18:53:28 2018 +0800
+++ b/setup.py	Fri Jun 01 23:02:36 2018 +0900
@@ -360,7 +360,7 @@
 
     write_if_changed('mercurial/__version__.py', b''.join([
         b'# this file is autogenerated by setup.py\n'
-        b'version = "%s"\n' % versionb,
+        b'version = b"%s"\n' % versionb,
     ]))
 
 try: