git-p4: use dict.items() iteration for python3 compatibility
authorYang Zhao <redacted>
Fri, 13 Dec 2019 23:52:45 +0000 (15:52 -0800)
committerJunio C Hamano <redacted>
Wed, 15 Jan 2020 20:53:40 +0000 (12:53 -0800)
commit2e2aa8d9032ccdfdecaab51c60c5bada517f60bc
tree9fc2442e8b012afdf707650ad73627eb3dd75d7c
parenta6b1306735f1a6450f22f562275c994d03324672
git-p4: use dict.items() iteration for python3 compatibility

Python3 uses dict.items() instead of .iteritems() to provide
iteratoration over dict.  Although items() is technically less efficient
for python2.7 (allocates a new list instead of simply iterating), the
amount of data involved is very small and the penalty negligible.

Signed-off-by: Yang Zhao <redacted>
Reviewed-by: Ben Keene <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-p4.py
git clone https://git.99rst.org/PROJECT