From f01b629bf94fdd97a5921da437e76704738fbf32 Mon Sep 17 00:00:00 2001 From: rht Date: Thu, 28 Sep 2017 02:59:37 +0200 Subject: [PATCH] zproject: Remove absolute_import. --- zproject/backends.py | 1 - zproject/jinja2/__init__.py | 1 - zproject/jinja2/compressors.py | 1 - zproject/settings.py | 1 - zproject/test_settings.py | 1 - 5 files changed, 5 deletions(-) diff --git a/zproject/backends.py b/zproject/backends.py index ae424752d6..325d2adb2c 100644 --- a/zproject/backends.py +++ b/zproject/backends.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import logging from typing import Any, Dict, List, Set, Tuple, Optional, Text diff --git a/zproject/jinja2/__init__.py b/zproject/jinja2/__init__.py index 9ace126ac4..5bc56feaee 100644 --- a/zproject/jinja2/__init__.py +++ b/zproject/jinja2/__init__.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import # Python 2 only from typing import Any diff --git a/zproject/jinja2/compressors.py b/zproject/jinja2/compressors.py index 70548dc3db..f961e870df 100644 --- a/zproject/jinja2/compressors.py +++ b/zproject/jinja2/compressors.py @@ -1,7 +1,6 @@ """ `minified_js` is taken from `zerver.templatetags.minified_js.py` """ -from __future__ import absolute_import # Python 2 only from typing import Text diff --git a/zproject/settings.py b/zproject/settings.py index 91906df068..f024a53bf5 100644 --- a/zproject/settings.py +++ b/zproject/settings.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import # Django settings for zulip project. ######################################################################## # Here's how settings for the Zulip project work: diff --git a/zproject/test_settings.py b/zproject/test_settings.py index 7911db02cc..7764d1bbdf 100644 --- a/zproject/test_settings.py +++ b/zproject/test_settings.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os # test_settings.py works differently from # dev_settings.py/prod_settings.py; it actually is directly referenced