py3: don't use dict.iterkeys()

Authored by pulkit.

Description

py3: don't use dict.iterkeys()

Instead of iterating of dict.iterkeys(), let's iterate of dict as that will be
equivalent and dict.iterkeys() is not present in Python 3.

Differential Revision: https://phab.mercurial-scm.org/D1796

Details

Committed
pulkitDec 28 2017, 7:17 PM
Differential Revision
D1796: py3: don't use dict.iterkeys()
Parents
rHG35fb3367f72d: py3: use pycompat.bytestr() instead of str()
Branches
Unknown
Tags
Unknown