Fixed #27878, refs #23919 -- Used python3 shebangs.

This commit is contained in:
Chris Lamb 2017-02-23 23:55:14 +08:00 committed by Tim Graham
parent eb97af0402
commit 4cffa9a1ff
8 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
from django.core import management from django.core import management
if __name__ == "__main__": if __name__ == "__main__":

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
import os import os
import sys import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
import argparse import argparse
import os import os
import subprocess import subprocess

View File

@ -333,7 +333,7 @@ Let's take a look inside a couple of those files:
.. snippet:: .. snippet::
:filename: runtests.py :filename: runtests.py
#!/usr/bin/env python #!/usr/bin/env python3
import os import os
import sys import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# #
# This python file contains utility scripts to manage Django translations. # This python file contains utility scripts to manage Django translations.
# It has to be run inside the django git root directory. # It has to be run inside the django git root directory.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
import os import os
import sys import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
""" """
Helper script to update sampleproject's translation catalogs. Helper script to update sampleproject's translation catalogs.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
import argparse import argparse
import atexit import atexit
import copy import copy