Skip to content

Commit a0e92a8

Browse files
committed
Fix missing or wrong shebangs and missing executable bits for scripts (python#10318)
1 parent 1ce7b17 commit a0e92a8

15 files changed

Lines changed: 6 additions & 1 deletion

Tools/scripts/abitype.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
# This script converts a C file to use the PEP 384 type definition API
23
# Usage: abitype.py < old_code > new_code
34
import re, sys

Tools/scripts/cleanfuture.py

100644100755
File mode changed.

Tools/scripts/combinerefs.py

100644100755
File mode changed.

Tools/scripts/db2pickle.py

100644100755
File mode changed.

Tools/scripts/diff.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
""" Command line interface to difflib.py providing diffs in four formats:
23
34
* ndiff: lists every line and highlights interline changes.

Tools/scripts/find_recursionlimit.py

100644100755
File mode changed.

Tools/scripts/get-remote-certificate.py

100644100755
File mode changed.

Tools/scripts/mailerdaemon.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
"""Classes to parse mailer-daemon messages."""
23

34
import calendar

Tools/scripts/make_ctype.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
"""Script that generates the ctype.h-replacement in stringobject.c."""
23

34
NAMES = ("LOWER", "UPPER", "ALPHA", "DIGIT", "XDIGIT", "ALNUM", "SPACE")

Tools/scripts/md5sum.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)