# HG changeset patch # User Pulkit Goyal <pulkit@yandex-team.ru> # Date 1535748382 -19800 # Sat Sep 01 02:16:22 2018 +0530 # Node ID 1099d9bbdf9afeef06e7c5b5c62bf09a4dd7da31 # Parent b64d36e5ca31cc25e159f0fc3e710dbf46b89546 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 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]