diff options
author | Éric Araujo <merwok@netwok.org> | 2011-07-26 16:01:08 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-07-26 16:01:08 (GMT) |
commit | a0e92a802815d55dafd303b39843ddd2b9784bdb (patch) | |
tree | ec530c8b0dc40d3285975e915e268e9f615f6606 /Tools/scripts | |
parent | 1ce7b17165c405a0772fb49c3b7143aa6b9ce4cd (diff) | |
download | cpython-a0e92a802815d55dafd303b39843ddd2b9784bdb.zip cpython-a0e92a802815d55dafd303b39843ddd2b9784bdb.tar.gz cpython-a0e92a802815d55dafd303b39843ddd2b9784bdb.tar.bz2 |
Fix missing or wrong shebangs and missing executable bits for scripts (#10318)
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x[-rw-r--r--] | Tools/scripts/abitype.py | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | Tools/scripts/cleanfuture.py | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | Tools/scripts/combinerefs.py | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | Tools/scripts/db2pickle.py | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | Tools/scripts/diff.py | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | Tools/scripts/find_recursionlimit.py | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | Tools/scripts/get-remote-certificate.py | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | Tools/scripts/mailerdaemon.py | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | Tools/scripts/make_ctype.py | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | Tools/scripts/md5sum.py | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | Tools/scripts/patchcheck.py | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | Tools/scripts/pickle2db.py | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | Tools/scripts/pysource.py | 0 | ||||
-rwxr-xr-x | Tools/scripts/reindent-rst.py | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | Tools/scripts/svneol.py | 0 |
15 files changed, 6 insertions, 1 deletions
diff --git a/Tools/scripts/abitype.py b/Tools/scripts/abitype.py index e35ef6a..4d96c8b 100644..100755 --- a/Tools/scripts/abitype.py +++ b/Tools/scripts/abitype.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # This script converts a C file to use the PEP 384 type definition API # Usage: abitype.py < old_code > new_code import re, sys diff --git a/Tools/scripts/cleanfuture.py b/Tools/scripts/cleanfuture.py index b48ab60..b48ab60 100644..100755 --- a/Tools/scripts/cleanfuture.py +++ b/Tools/scripts/cleanfuture.py diff --git a/Tools/scripts/combinerefs.py b/Tools/scripts/combinerefs.py index e10e49a..e10e49a 100644..100755 --- a/Tools/scripts/combinerefs.py +++ b/Tools/scripts/combinerefs.py diff --git a/Tools/scripts/db2pickle.py b/Tools/scripts/db2pickle.py index a5532a8..a5532a8 100644..100755 --- a/Tools/scripts/db2pickle.py +++ b/Tools/scripts/db2pickle.py diff --git a/Tools/scripts/diff.py b/Tools/scripts/diff.py index 52dcab1..9efb078 100644..100755 --- a/Tools/scripts/diff.py +++ b/Tools/scripts/diff.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 """ Command line interface to difflib.py providing diffs in four formats: * ndiff: lists every line and highlights interline changes. diff --git a/Tools/scripts/find_recursionlimit.py b/Tools/scripts/find_recursionlimit.py index 443f052..443f052 100644..100755 --- a/Tools/scripts/find_recursionlimit.py +++ b/Tools/scripts/find_recursionlimit.py diff --git a/Tools/scripts/get-remote-certificate.py b/Tools/scripts/get-remote-certificate.py index 5811f20..5811f20 100644..100755 --- a/Tools/scripts/get-remote-certificate.py +++ b/Tools/scripts/get-remote-certificate.py diff --git a/Tools/scripts/mailerdaemon.py b/Tools/scripts/mailerdaemon.py index 62189f1..aeb451e 100644..100755 --- a/Tools/scripts/mailerdaemon.py +++ b/Tools/scripts/mailerdaemon.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 """Classes to parse mailer-daemon messages.""" import calendar diff --git a/Tools/scripts/make_ctype.py b/Tools/scripts/make_ctype.py index 359d6b3..afee1c5 100644..100755 --- a/Tools/scripts/make_ctype.py +++ b/Tools/scripts/make_ctype.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 """Script that generates the ctype.h-replacement in stringobject.c.""" NAMES = ("LOWER", "UPPER", "ALPHA", "DIGIT", "XDIGIT", "ALNUM", "SPACE") diff --git a/Tools/scripts/md5sum.py b/Tools/scripts/md5sum.py index 743da72..743da72 100644..100755 --- a/Tools/scripts/md5sum.py +++ b/Tools/scripts/md5sum.py diff --git a/Tools/scripts/patchcheck.py b/Tools/scripts/patchcheck.py index e767eda..13b8ba4 100644..100755 --- a/Tools/scripts/patchcheck.py +++ b/Tools/scripts/patchcheck.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import re import sys import shutil diff --git a/Tools/scripts/pickle2db.py b/Tools/scripts/pickle2db.py index b5b6571..b5b6571 100644..100755 --- a/Tools/scripts/pickle2db.py +++ b/Tools/scripts/pickle2db.py diff --git a/Tools/scripts/pysource.py b/Tools/scripts/pysource.py index 048131e..048131e 100644..100755 --- a/Tools/scripts/pysource.py +++ b/Tools/scripts/pysource.py diff --git a/Tools/scripts/reindent-rst.py b/Tools/scripts/reindent-rst.py index ceb84bf..25608af 100755 --- a/Tools/scripts/reindent-rst.py +++ b/Tools/scripts/reindent-rst.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Make a reST file compliant to our pre-commit hook. # Currently just remove trailing whitespace. diff --git a/Tools/scripts/svneol.py b/Tools/scripts/svneol.py index 8abdd01..8abdd01 100644..100755 --- a/Tools/scripts/svneol.py +++ b/Tools/scripts/svneol.py |