summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-03-07 10:10:32 -0500
committerTim Graham <timograham@gmail.com>2017-03-07 10:10:32 -0500
commit784a53beef0ff4fb593bb6c4643924830b29e1bd (patch)
tree51f040ebad27a3c67211db9180f4e28a3ec90544
parent9bbb6e2d2536c4ac20dc13a94c1f80494e51f8d9 (diff)
Reverted "Fixed #27878, refs #23919 -- Used python3 shebangs."
This reverts commit 4cffa9a1ffb37d4de7e99a851a9ed87b3c02d229.
-rwxr-xr-xdjango/bin/django-admin.py2
-rwxr-xr-xdjango/conf/project_template/manage.py-tpl2
-rw-r--r--django/contrib/admin/bin/compress.py2
-rw-r--r--docs/topics/testing/advanced.txt2
-rw-r--r--scripts/manage_translations.py2
-rwxr-xr-xtests/i18n/sampleproject/manage.py2
-rwxr-xr-xtests/i18n/sampleproject/update_catalogs.py2
-rwxr-xr-xtests/runtests.py2
8 files changed, 8 insertions, 8 deletions
diff --git a/django/bin/django-admin.py b/django/bin/django-admin.py
index 53c32d6573..f518cdc463 100755
--- a/django/bin/django-admin.py
+++ b/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__":
diff --git a/django/conf/project_template/manage.py-tpl b/django/conf/project_template/manage.py-tpl
index 39df575158..9f83e65491 100755
--- a/django/conf/project_template/manage.py-tpl
+++ b/django/conf/project_template/manage.py-tpl
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python
import os
import sys
diff --git a/django/contrib/admin/bin/compress.py b/django/contrib/admin/bin/compress.py
index 2572b2f4f4..dbef84d759 100644
--- a/django/contrib/admin/bin/compress.py
+++ b/django/contrib/admin/bin/compress.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python
import argparse
import os
import subprocess
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt
index 6bc6b02c5e..192a62c516 100644
--- a/docs/topics/testing/advanced.txt
+++ b/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
diff --git a/scripts/manage_translations.py b/scripts/manage_translations.py
index 9b11f33be2..74534d47da 100644
--- a/scripts/manage_translations.py
+++ b/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.
diff --git a/tests/i18n/sampleproject/manage.py b/tests/i18n/sampleproject/manage.py
index 6f1708a5b3..87a0ec369a 100755
--- a/tests/i18n/sampleproject/manage.py
+++ b/tests/i18n/sampleproject/manage.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python
import os
import sys
diff --git a/tests/i18n/sampleproject/update_catalogs.py b/tests/i18n/sampleproject/update_catalogs.py
index 368a160b4e..131d3e268b 100755
--- a/tests/i18n/sampleproject/update_catalogs.py
+++ b/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.
diff --git a/tests/runtests.py b/tests/runtests.py
index 6ffd9ea68f..4cb36049fd 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python
import argparse
import atexit
import copy