Patchwork D2415: py3: convert dict.items() to list explicitly

login
register
mail settings
Submitter phabricator
Date Feb. 24, 2018, 12:56 p.m.
Message ID <9ea6b33125412532c79d9b809bad7a60@localhost.localdomain>
Download mbox | patch
Permalink /patch/28321/
State Not Applicable
Headers show

Comments

phabricator - Feb. 24, 2018, 12:56 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGe9bcc2efb7e8: py3: convert dict.items() to list explicitly (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2415?vs=6039&id=6047

REVISION DETAIL
  https://phab.mercurial-scm.org/D2415

AFFECTED FILES
  hgext/churn.py

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/churn.py b/hgext/churn.py
--- a/hgext/churn.py
+++ b/hgext/churn.py
@@ -171,7 +171,7 @@ 
                     ui.warn(_("skipping malformed alias: %s\n") % l)
                 continue
 
-    rate = countrate(ui, repo, amap, *pats, **opts).items()
+    rate = list(countrate(ui, repo, amap, *pats, **opts).items())
     if not rate:
         return