Swap iteritems() for items()
ClosedPublic

Authored by demon on Oct 27 2017, 7:24 PM.

Details

Reviewers
mmodell
hashar
Group Reviewers
Release-Engineering-Team
Commits
rMSCA862354b5877e: Swap iteritems() for items()
Patch without arc
git checkout -b D856 && curl -L https://phabricator.wikimedia.org/D856?download=true | git apply
Summary

Both work in Python 2 and 3, with a slight performance penalty in py2

Diff Detail

Repository
rMSCA Scap
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
demon created this revision.Oct 27 2017, 7:24 PM
Restricted Application added a reviewer: mmodell. · View Herald TranscriptOct 27 2017, 7:24 PM
Restricted Application added a reviewer: Release-Engineering-Team. · View Herald Transcript
Restricted Application added a project: Release-Engineering-Team. · View Herald Transcript
mmodell accepted this revision.Oct 27 2017, 9:43 PM
This revision is now accepted and ready to land.Oct 27 2017, 9:43 PM
hashar accepted this revision.Oct 27 2017, 10:02 PM
This revision was automatically updated to reflect the committed changes.