Browse Source

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

Chris Lamb 8 years ago
parent
commit
4cffa9a1ff

+ 1 - 1
django/bin/django-admin.py

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

+ 1 - 1
django/conf/project_template/manage.py-tpl

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

+ 1 - 1
django/contrib/admin/bin/compress.py

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

+ 1 - 1
docs/topics/testing/advanced.txt

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

+ 1 - 1
scripts/manage_translations.py

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

+ 1 - 1
tests/i18n/sampleproject/manage.py

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

+ 1 - 1
tests/i18n/sampleproject/update_catalogs.py

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

+ 1 - 1
tests/runtests.py

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