Fix missing or wrong shebangs and missing executable bits for scripts (#10318)

This commit is contained in:
Éric Araujo 2011-07-26 18:01:08 +02:00
parent 1ce7b17165
commit a0e92a8028
15 changed files with 6 additions and 1 deletions

1
Tools/scripts/abitype.py Normal file → Executable file
View File

@ -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

0
Tools/scripts/cleanfuture.py Normal file → Executable file
View File

0
Tools/scripts/combinerefs.py Normal file → Executable file
View File

0
Tools/scripts/db2pickle.py Normal file → Executable file
View File

1
Tools/scripts/diff.py Normal file → Executable file
View File

@ -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.

0
Tools/scripts/find_recursionlimit.py Normal file → Executable file
View File

0
Tools/scripts/get-remote-certificate.py Normal file → Executable file
View File

1
Tools/scripts/mailerdaemon.py Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env python3
"""Classes to parse mailer-daemon messages."""
import calendar

1
Tools/scripts/make_ctype.py Normal file → Executable file
View File

@ -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")

0
Tools/scripts/md5sum.py Normal file → Executable file
View File

1
Tools/scripts/patchcheck.py Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env python3
import re
import sys
import shutil

0
Tools/scripts/pickle2db.py Normal file → Executable file
View File

0
Tools/scripts/pysource.py Normal file → Executable file
View File

View File

@ -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.

0
Tools/scripts/svneol.py Normal file → Executable file
View File