changeset 30076:400dfded8a29

py3: make the string unicode so its iterable in py3k
author Mateusz Kwapich <mitrandir@fb.com>
date Sat, 08 Oct 2016 08:45:28 -0700
parents 2c8ec8c2ddfe
children 8f42d8c412c8
files mercurial/store.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):