@@ -16,8 +16,6 @@
# Patchwork; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA, 02110-1335, USA
-from __future__ import absolute_import
-
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
from django.contrib.auth.models import User
@@ -17,8 +17,6 @@
# Patchwork; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA, 02110-1335, USA
-from __future__ import absolute_import
-
import hashlib
from django.db import models
@@ -16,8 +16,6 @@
# Patchwork; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA, 02110-1335, USA
-from __future__ import absolute_import
-
from django.contrib.auth.models import User
from django.utils.html import escape
from django.utils.safestring import mark_safe
@@ -17,8 +17,6 @@
# Patchwork; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA, 02110-1335, USA
-from __future__ import absolute_import
-
from collections import Counter
from collections import OrderedDict
import datetime
@@ -16,8 +16,6 @@
# Patchwork; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA, 02110-1335, USA
-from __future__ import absolute_import
-
from django.conf import settings
from django.core import paginator
@@ -7,8 +7,6 @@ Design based on:
http://www.revsys.com/blog/2014/nov/21/recommended-django-project-layout/
"""
-from __future__ import absolute_import
-
from .base import * # noqa
#
@@ -7,8 +7,6 @@ Design based on:
http://www.revsys.com/blog/2014/nov/21/recommended-django-project-layout/
"""
-from __future__ import absolute_import
-
import os
from .base import * # noqa
@@ -16,8 +16,6 @@
# Patchwork; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA, 02110-1335, USA
-from __future__ import absolute_import
-
from django.conf import settings
from django import template
from django.urls import reverse
@@ -17,8 +17,6 @@
# Patchwork; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA, 02110-1335, USA
-from __future__ import absolute_import
-
from django import template
from django.utils.safestring import mark_safe
from django.template.defaultfilters import stringfilter
@@ -16,8 +16,6 @@
# Patchwork; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA, 02110-1335, USA
-from __future__ import absolute_import
-
from django import template
from django.urls import reverse
from django.utils.html import escape
@@ -16,8 +16,6 @@
# Patchwork; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA, 02110-1335, USA
-from __future__ import absolute_import
-
from django import template
from django.utils.safestring import mark_safe
@@ -16,8 +16,6 @@
# Patchwork; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA, 02110-1335, USA
-from __future__ import absolute_import
-
import re
from django import template
@@ -16,8 +16,6 @@
# Patchwork; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA, 02110-1335, USA
-from __future__ import absolute_import
-
import base64
import datetime
import unittest
@@ -16,8 +16,6 @@
# Patchwork; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA, 02110-1335, USA
-from __future__ import absolute_import
-
import json
from django.test import TestCase
@@ -16,8 +16,6 @@
# Patchwork; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA, 02110-1335, USA
-from __future__ import absolute_import
-
from django.test import TestCase
from django.urls import reverse
@@ -16,8 +16,6 @@
# Patchwork; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA, 02110-1335, USA
-from __future__ import absolute_import
-
from datetime import datetime as dt
import re
@@ -19,8 +19,6 @@
# Patchwork XMLRPC interface
#
-from __future__ import absolute_import
-
import base64
# NOTE(stephenfin) six does not seem to support this
try:
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> --- patchwork/admin.py | 2 -- patchwork/fields.py | 2 -- patchwork/filters.py | 2 -- patchwork/models.py | 2 -- patchwork/paginator.py | 2 -- patchwork/settings/dev.py | 2 -- patchwork/settings/production.example.py | 2 -- patchwork/templatetags/listurl.py | 2 -- patchwork/templatetags/patch.py | 2 -- patchwork/templatetags/person.py | 2 -- patchwork/templatetags/project.py | 2 -- patchwork/templatetags/syntax.py | 2 -- patchwork/tests/test_bundles.py | 2 -- patchwork/tests/test_completion.py | 2 -- patchwork/tests/test_detail.py | 2 -- patchwork/tests/test_list.py | 2 -- patchwork/views/xmlrpc.py | 2 -- 17 files changed, 34 deletions(-)