# HG changeset patch # User Pulkit Goyal # Date 1535748382 -19800 # 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 -r b64d36e5ca31 -r 1099d9bbdf9a hgext/fastannotate/context.py --- 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]