summaryrefslogtreecommitdiffstats
path: root/chrome/PRESUBMIT.py
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-27 20:56:51 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-27 20:56:51 +0000
commit2fac37585d3dfa0d7cf7a976698aae7627186573 (patch)
treed2f233a6afa5d8093f15f2f3c56cc4c009b05904 /chrome/PRESUBMIT.py
parent071302929ab813f647e51253af4e885b33eab463 (diff)
downloadchromium_src-2fac37585d3dfa0d7cf7a976698aae7627186573.zip
chromium_src-2fac37585d3dfa0d7cf7a976698aae7627186573.tar.gz
chromium_src-2fac37585d3dfa0d7cf7a976698aae7627186573.tar.bz2
Fix python scripts in src/chrome/
Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. Minor python style fixes. TBR=nirnimesh@chromium.org BUG=105108 TEST= Review URL: http://codereview.chromium.org/8680018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111658 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/PRESUBMIT.py')
-rw-r--r--[-rwxr-xr-x]chrome/PRESUBMIT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/PRESUBMIT.py b/chrome/PRESUBMIT.py
index e9f377b..087232f 100755..100644
--- a/chrome/PRESUBMIT.py
+++ b/chrome/PRESUBMIT.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.