# HG changeset patch # User Martin von Zweigbergk # Date 2019-08-29 00:36:53 # Node ID 0cbe17335857cb2cffae295c550268f53d77012c # Parent 69506e1b321416274d0889059dbfe6c37a626462 py3: use pycompat.maplist() in chgserver test-chg.t almost passes on py3 after this patch. Differential Revision: https://phab.mercurial-scm.org/D6771 diff --git a/mercurial/chgserver.py b/mercurial/chgserver.py --- a/mercurial/chgserver.py +++ b/mercurial/chgserver.py @@ -172,7 +172,7 @@ def _mtimehash(paths): 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"""