Mercurial > hg
changeset 39380:1099d9bbdf9a
py3: don't use dict.iterkeys() in hgext/fastannotate/context.py
dict.iterkeys() is not present on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D4431
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Sat, 01 Sep 2018 02:16:22 +0530 |
parents | b64d36e5ca31 |
children | f5e9d074d70a |
files | hgext/fastannotate/context.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/fastannotate/context.py Wed Aug 29 23:39:58 2018 -0400 +++ b/hgext/fastannotate/context.py Sat Sep 01 02:16:22 2018 +0530 @@ -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]