Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: tools/perf/contrib/PRESUBMIT.py

Issue 2881603002: Remove the presubmit check that counts the number of owners (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/contrib/PRESUBMIT.py
diff --git a/tools/perf/contrib/PRESUBMIT.py b/tools/perf/contrib/PRESUBMIT.py
index 38f2a046b110ce458a9f784cf1ad406f17e23e57..86f75f0fe93129d34b5076df49bae16c35e8cc53 100644
--- a/tools/perf/contrib/PRESUBMIT.py
+++ b/tools/perf/contrib/PRESUBMIT.py
@@ -17,15 +17,6 @@ def _CheckOwnershipForContribSubDir(sub_dir, input_api, output_api):
if not input_api.os_path.isfile(owner_file):
results.append(output_api.PresubmitError(
'%s must have an OWNERS file' % sub_dir))
- else:
- owners = []
- with open(owner_file) as f:
- for line in f:
- if line.strip() and not line.strip().startswith('#'):
- owners.append(line)
- if len(owners) < 2:
- results.append(output_api.PresubmitError(
- '%s must have at least 2 owners' % owner_file))
return results
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698