From 2ee9bce654f940a8de5ef121f39b6fcb6d09741a Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 9 Feb 2015 13:37:23 -0500 Subject: [PATCH] Removed some obsolete absolute_imports. --- django/utils/autoreload.py | 3 --- django/utils/deconstruct.py | 3 --- django/utils/formats.py | 3 --- django/utils/module_loading.py | 3 --- 4 files changed, 12 deletions(-) diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py index 9c3e0bf5ef2..f4ac4977f7b 100644 --- a/django/utils/autoreload.py +++ b/django/utils/autoreload.py @@ -28,9 +28,6 @@ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Avoid importing `import importlib` from this package -from __future__ import absolute_import - import os import signal import sys diff --git a/django/utils/deconstruct.py b/django/utils/deconstruct.py index a94d242f619..848b939b408 100644 --- a/django/utils/deconstruct.py +++ b/django/utils/deconstruct.py @@ -1,6 +1,3 @@ -# Avoid importing `importlib` from this package. -from __future__ import absolute_import - from importlib import import_module from django.utils.version import get_docs_version diff --git a/django/utils/formats.py b/django/utils/formats.py index c40e542e7d3..e93d5190c57 100644 --- a/django/utils/formats.py +++ b/django/utils/formats.py @@ -1,6 +1,3 @@ -# Avoid importing `importlib` from this package. -from __future__ import absolute_import - import datetime import decimal import unicodedata diff --git a/django/utils/module_loading.py b/django/utils/module_loading.py index 568493ba965..55d89caa462 100644 --- a/django/utils/module_loading.py +++ b/django/utils/module_loading.py @@ -1,6 +1,3 @@ -# Avoid importing `importlib` from this package. -from __future__ import absolute_import - import copy import os import sys