changeset 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 69506e1b3214
children 6a551a2dc666
files mercurial/chgserver.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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"""