changeset 33094:4c5af472a599

py3: add b'' to make a triple quoted string bytes on Python 3 Transformer does not adds b'' in front of triple quoted strings to prevent converting docs to bytes.
author Pulkit Goyal <7895pulkit@gmail.com>
date Sat, 24 Jun 2017 19:57:50 +0530
parents 7fed389f9a9f
children 9fc880dff5f3
files mercurial/util.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util.py	Sat Jun 24 19:55:41 2017 +0530
+++ b/mercurial/util.py	Sat Jun 24 19:57:50 2017 +0530
@@ -1168,7 +1168,7 @@
 
     return hardlink, num
 
-_winreservednames = '''con prn aux nul
+_winreservednames = b'''con prn aux nul
     com1 com2 com3 com4 com5 com6 com7 com8 com9
     lpt1 lpt2 lpt3 lpt4 lpt5 lpt6 lpt7 lpt8 lpt9'''.split()
 _winreservedchars = ':*?"<>|'