py3: make the string unicode so its iterable in py3k
authorMateusz Kwapich <mitrandir@fb.com>
Sat, 08 Oct 2016 08:45:28 -0700
changeset 30076 400dfded8a29
parent 30075 2c8ec8c2ddfe
child 30077 8f42d8c412c8
py3: make the string unicode so its iterable in py3k
mercurial/store.py
--- a/mercurial/store.py	Mon Oct 03 13:29:59 2016 +0200
+++ b/mercurial/store.py	Sat Oct 08 08:45:28 2016 -0700
@@ -65,7 +65,7 @@
 
     these characters will be escaped by encodefunctions
     '''
-    winreserved = [ord(x) for x in '\\:*?"<>|']
+    winreserved = [ord(x) for x in u'\\:*?"<>|']
     for x in range(32):
         yield x
     for x in range(126, 256):