summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
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)
commita0e92a802815d55dafd303b39843ddd2b9784bdb (patch)
treeec530c8b0dc40d3285975e915e268e9f615f6606 /Tools/scripts
parent1ce7b17165c405a0772fb49c3b7143aa6b9ce4cd (diff)
downloadcpython-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.py1
-rwxr-xr-x[-rw-r--r--]Tools/scripts/cleanfuture.py0
-rwxr-xr-x[-rw-r--r--]Tools/scripts/combinerefs.py0
-rwxr-xr-x[-rw-r--r--]Tools/scripts/db2pickle.py0
-rwxr-xr-x[-rw-r--r--]Tools/scripts/diff.py1
-rwxr-xr-x[-rw-r--r--]Tools/scripts/find_recursionlimit.py0
-rwxr-xr-x[-rw-r--r--]Tools/scripts/get-remote-certificate.py0
-rwxr-xr-x[-rw-r--r--]Tools/scripts/mailerdaemon.py1
-rwxr-xr-x[-rw-r--r--]Tools/scripts/make_ctype.py1
-rwxr-xr-x[-rw-r--r--]Tools/scripts/md5sum.py0
-rwxr-xr-x[-rw-r--r--]Tools/scripts/patchcheck.py1
-rwxr-xr-x[-rw-r--r--]Tools/scripts/pickle2db.py0
-rwxr-xr-x[-rw-r--r--]Tools/scripts/pysource.py0
-rwxr-xr-xTools/scripts/reindent-rst.py2
-rwxr-xr-x[-rw-r--r--]Tools/scripts/svneol.py0
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