Index: net/PRESUBMIT.py |
diff --git a/mojo/edk/PRESUBMIT.py b/net/PRESUBMIT.py |
similarity index 54% |
copy from mojo/edk/PRESUBMIT.py |
copy to net/PRESUBMIT.py |
index 43d5417e5ae714d51eb8c00f9e59741e2809f777..207cad0629ce866d8f3c948226ec11a359523642 100644 |
--- a/mojo/edk/PRESUBMIT.py |
+++ b/net/PRESUBMIT.py |
@@ -2,15 +2,11 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-"""Presubmit script for mojo/edk. |
+"""Top-level presubmit script for src/net. |
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts |
for more details about the presubmit API built into depot_tools. |
""" |
def CheckChangeOnUpload(input_api, output_api): |
- results = [] |
- results += input_api.canned_checks.CheckChangeHasOnlyOneEol(input_api, |
- output_api) |
- results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api) |
- return results |
+ return input_api.canned_checks.CheckPatchFormatted(input_api, output_api) |