summaryrefslogtreecommitdiff
path: root/patchwork/templatetags
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2018-09-17 14:56:36 +0100
committerStephen Finucane <stephen@that.guru>2018-09-19 11:34:42 +0100
commit14a152e9cbc4c0e74669c7fb781997041d2f11d6 (patch)
tree2703e4889e74c37bfc665b36cc6064bd6f14b96f /patchwork/templatetags
parent3ddb9ca19da410ff89d51789f72baf4bcd7e0ab0 (diff)
downloadpatchwork-14a152e9cbc4c0e74669c7fb781997041d2f11d6.tar
patchwork-14a152e9cbc4c0e74669c7fb781997041d2f11d6.tar.gz
Remove '__future__.absolute_import' imports
These were added as part of the Python 3 support series but are not required and can be safely removed. Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'patchwork/templatetags')
-rw-r--r--patchwork/templatetags/listurl.py2
-rw-r--r--patchwork/templatetags/patch.py2
-rw-r--r--patchwork/templatetags/person.py2
-rw-r--r--patchwork/templatetags/project.py2
-rw-r--r--patchwork/templatetags/syntax.py2
5 files changed, 0 insertions, 10 deletions
diff --git a/patchwork/templatetags/listurl.py b/patchwork/templatetags/listurl.py
index 76dae79..c987fb4 100644
--- a/patchwork/templatetags/listurl.py
+++ b/patchwork/templatetags/listurl.py
@@ -17,8 +17,6 @@
# along with Patchwork; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-from __future__ import absolute_import
-
from django.conf import settings
from django import template
from django.urls import reverse
diff --git a/patchwork/templatetags/patch.py b/patchwork/templatetags/patch.py
index 30ccc8e..c5dbf25 100644
--- a/patchwork/templatetags/patch.py
+++ b/patchwork/templatetags/patch.py
@@ -18,8 +18,6 @@
# along with Patchwork; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-from __future__ import absolute_import
-
from django import template
from django.utils.safestring import mark_safe
from django.template.defaultfilters import stringfilter
diff --git a/patchwork/templatetags/person.py b/patchwork/templatetags/person.py
index 09c8d10..8036a77 100644
--- a/patchwork/templatetags/person.py
+++ b/patchwork/templatetags/person.py
@@ -17,8 +17,6 @@
# along with Patchwork; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-from __future__ import absolute_import
-
from django import template
from django.urls import reverse
from django.utils.html import escape
diff --git a/patchwork/templatetags/project.py b/patchwork/templatetags/project.py
index 32d8011..fa33895 100644
--- a/patchwork/templatetags/project.py
+++ b/patchwork/templatetags/project.py
@@ -17,8 +17,6 @@
# along with Patchwork; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-from __future__ import absolute_import
-
from django import template
from django.utils.safestring import mark_safe
diff --git a/patchwork/templatetags/syntax.py b/patchwork/templatetags/syntax.py
index 27ff8c3..7887740 100644
--- a/patchwork/templatetags/syntax.py
+++ b/patchwork/templatetags/syntax.py
@@ -17,8 +17,6 @@
# along with Patchwork; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-from __future__ import absolute_import
-
import re
from django import template