From patchwork Thu Mar 1 19:15:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D2515: py3: listify the return value of filter() From: phabricator X-Patchwork-Id: 28579 Message-Id: <36aef2f8b6fec785270663dbd5553151@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Thu, 1 Mar 2018 19:15:28 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHG149c5af35de5: py3: listify the return value of filter() (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2515?vs=6261&id=6270 REVISION DETAIL https://phab.mercurial-scm.org/D2515 AFFECTED FILES hgext/narrow/narrowchangegroup.py CHANGE DETAILS To: pulkit, durin42, #hg-reviewers Cc: mercurial-devel diff --git a/hgext/narrow/narrowchangegroup.py b/hgext/narrow/narrowchangegroup.py --- a/hgext/narrow/narrowchangegroup.py +++ b/hgext/narrow/narrowchangegroup.py @@ -44,7 +44,7 @@ source): matcher = _cgmatcher(self) if matcher: - changedfiles = filter(matcher, changedfiles) + changedfiles = list(filter(matcher, changedfiles)) if getattr(self, 'is_shallow', False): # See comment in generate() for why this sadness is a thing. mfdicts = self._mfdicts