This is an archive of the discontinued Mercurial Phabricator instance.

py3: don't use dict.iterkeys()
ClosedPublic

Authored by pulkit on Nov 13 2018, 10:27 AM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Commits
rHG9769e0f6ffe0: py3: don't use dict.iterkeys()
Summary

dict.iterkeys() is not present on Python 3.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pulkit created this revision.Nov 13 2018, 10:27 AM
indygreg added inline comments.
hgext/remotefilelog/repack.py
510

This can be reduced to list(entries).

646

Ditto.

This revision was automatically updated to reflect the committed changes.