Mercurial > hg
diff mercurial/chgserver.py @ 42818:0cbe17335857
py3: use pycompat.maplist() in chgserver
test-chg.t almost passes on py3 after this patch.
Differential Revision: https://phab.mercurial-scm.org/D6771
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 28 Aug 2019 17:36:53 -0700 |
parents | 49998d5ba66a |
children | 2372284d9457 |
line wrap: on
line diff
--- a/mercurial/chgserver.py Fri Aug 23 08:54:32 2019 -0700 +++ b/mercurial/chgserver.py Wed Aug 28 17:36:53 2019 -0700 @@ -172,7 +172,7 @@ except OSError: # could be ENOENT, EPERM etc. not fatal in any case pass - return _hashlist(map(trystat, paths))[:12] + return _hashlist(pycompat.maplist(trystat, paths))[:12] class hashstate(object): """a structure storing confighash, mtimehash, paths used for mtimehash"""