Browse Source

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

This reverts commit 4cffa9a1ffb37d4de7e99a851a9ed87b3c02d229.
Tim Graham 8 years ago
parent
commit
784a53beef

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

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

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

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

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

@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python
 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 python3
+    #!/usr/bin/env python
     import os
     import sys
 

+ 1 - 1
scripts/manage_translations.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python
 #
 # 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 python3
+#!/usr/bin/env python
 import os
 import sys
 

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

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

+ 1 - 1
tests/runtests.py

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