Mercurial > hg
diff mercurial/treediscovery.py @ 30586:2d555d753f0e
py3: make keys of keyword arguments strings
keys of keyword arguments on Python 3 has to be string. We are dealing with
bytes in our codebase so the keys are also bytes. Done that using
pycompat.strkwargs().
Also after this patch, `hg version` now runs on Python 3.5. Hurray!
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 13 Dec 2016 20:53:40 +0530 |
parents | 56b2bcea2529 |
children | 0ed11f9368fd |