Mercurial > hg
diff mercurial/context.py @ 36036:788b2e8530ae
py3: use raw string for file open mode
Otherwise the module importer rewrites it to bytes on Python 3,
which angers Python 3.
Differential Revision: https://phab.mercurial-scm.org/D2137
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 11 Feb 2018 10:52:13 -0800 |
parents | 55e8efa2451a |
children | 38f480502043 |