D4431: py3: don't use dict.iterkeys() in hgext/fastannotate/context.py
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sat Sep 1 00:44:11 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG1099d9bbdf9a: py3: don't use dict.iterkeys() in hgext/fastannotate/context.py (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4431?vs=10687&id=10701
REVISION DETAIL
https://phab.mercurial-scm.org/D4431
AFFECTED FILES
hgext/fastannotate/context.py
CHANGE DETAILS
diff --git a/hgext/fastannotate/context.py b/hgext/fastannotate/context.py
--- a/hgext/fastannotate/context.py
+++ b/hgext/fastannotate/context.py
@@ -133,7 +133,7 @@
def hashdiffopts(diffopts):
diffoptstr = str(sorted(
(k, getattr(diffopts, k))
- for k in mdiff.diffopts.defaults.iterkeys()
+ for k in mdiff.diffopts.defaults
))
return hashlib.sha1(diffoptstr).hexdigest()[:6]
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list