diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-27 22:28:21 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-27 22:28:21 +0000 |
commit | 64dc81454be57dffd6e78fd91120a63711930054 (patch) | |
tree | 1de36b85e644ffe09a665e24f8407c83fdb46217 /net/PRESUBMIT.py | |
parent | e14f34beb6e5981e091a778118cfa0d1da48a088 (diff) | |
download | chromium_src-64dc81454be57dffd6e78fd91120a63711930054.zip chromium_src-64dc81454be57dffd6e78fd91120a63711930054.tar.gz chromium_src-64dc81454be57dffd6e78fd91120a63711930054.tar.bz2 |
Fix python scripts in src/net
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.
TBR=akalin@chromium.org
BUG=105108
TEST=
Review URL: http://codereview.chromium.org/8669012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111662 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/PRESUBMIT.py')
-rw-r--r-- | net/PRESUBMIT.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/PRESUBMIT.py b/net/PRESUBMIT.py index 5b607c5..b81f2f5 100644 --- a/net/PRESUBMIT.py +++ b/net/PRESUBMIT.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # 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. |