commit | 81923d6d2cc6d3b6fdb9a6c98d50d209576ebf5b | [log] [tgz] |
---|---|---|
author | Carlos Caballero <carlscab@google.com> | Mon Jul 06 18:22:27 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 06 18:22:27 2020 |
tree | 5ee3ea9583c5deec4e0348ef70487a9376208a37 | |
parent | 49735e227c7e1ae863f40e3502bb1bc76fd610f7 [diff] |
Fix git_cl -r compatibility issue with Python 3 iterkeys is no longer a thing in Python 3 Change-Id: I4d88d2a486db1e552ecac27f123219ac1e03bcaf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2276208 Commit-Queue: Carlos Caballero <carlscab@google.com> Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
diff --git a/git_cl.py b/git_cl.py index 4c882e6..2f26068 100755 --- a/git_cl.py +++ b/git_cl.py
@@ -3605,7 +3605,7 @@ if issue: issue_branch_map.setdefault(int(issue), []).append(branch) if not args: - args = sorted(issue_branch_map.iterkeys()) + args = sorted(issue_branch_map.keys()) result = {} for issue in args: try: