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

Unified Diff: PRESUBMIT.py

Issue 142973008: Skip _CheckFilePermissions check on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Indentation Created 6 years, 11 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: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index b5aefd372716fd0336a305b5d7cfcefdb2b22f90..cd5baaad74e20f1f79cd2ff7970fafbf66c616f3 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -522,6 +522,8 @@ def _CheckUnwantedDependencies(input_api, output_api):
def _CheckFilePermissions(input_api, output_api):
"""Check that all files have their permissions properly set."""
+ if input_api.platform == 'win32':
+ return []
args = [sys.executable, 'tools/checkperms/checkperms.py', '--root',
input_api.change.RepositoryRoot()]
for f in input_api.AffectedFiles():
« 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