# HG changeset patch
# User Manuel Jacob <me@manueljacob.de>
# Date 1583508244 -3600
#      Fri Mar 06 16:24:04 2020 +0100
# Node ID c2301b52c3af5900c63065e77f3bd1ddbea3d3ec
# Parent  9d735570322d4ad67a70515572447993497fa320
py3: use maplist

diff --git a/hggit/git_handler.py b/hggit/git_handler.py
--- a/hggit/git_handler.py
+++ b/hggit/git_handler.py
@@ -845,7 +845,7 @@
         else:
             renames = hg_renames
 
-        gparents = map(self.map_hg_get, commit.parents)
+        gparents = pycompat.maplist(self.map_hg_get, commit.parents)
 
         for parent in gparents:
             if parent not in self.repo: