commit | 20e3154c512025eb9f63b6112f76b33eadf58cc6 | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Tue Dec 07 21:35:48 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Dec 07 21:35:48 2021 +0000 |
tree | a433af4d054fe3eebafe8d8d3e522f0da23e9fe4 | |
parent | be3f5b4bb4041425cbee648e43c5a30ca3846f8e [diff] | |
parent | ec0150cefe9e5697f09c805564ea2608909879ab [diff] |
Merge "py2to3: itertools.izip -> zip" am: ec0150cefe Original change: https://android-review.googlesource.com/c/platform/external/perfetto/+/1913810 Change-Id: I2e823a8151728c077e6030537d9be80dd5a721ad
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 9c87072..27b4e88 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py
@@ -242,8 +242,7 @@ if f.LocalPath() != 'tools/ftrace_proto_gen/event_list': continue if any((not new_line.startswith('removed')) and new_line != old_line - for old_line, new_line in itertools.izip(f.OldContents(), - f.NewContents())): + for old_line, new_line in zip(f.OldContents(), f.NewContents())): return [ output_api.PresubmitError( 'event_list only has two supported changes: '