# HG changeset patch # User Mateusz Kwapich # Date 2016-10-08 15:45:28 # Node ID 400dfded8a29f2b9541df13aa26da8c93045d939 # Parent 2c8ec8c2ddfeb2d229b81eb5b11e3639fb34b0a0 py3: make the string unicode so its iterable in py3k diff --git a/mercurial/store.py b/mercurial/store.py --- a/mercurial/store.py +++ b/mercurial/store.py @@ -65,7 +65,7 @@ def _reserved(): 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):