summaryrefslogtreecommitdiff
path: root/patchwork/filters.py
diff options
context:
space:
mode:
authorStephen Finucane <stephen.finucane@intel.com>2015-11-26 18:24:59 +0000
committerStephen Finucane <stephen.finucane@intel.com>2015-12-03 22:08:53 +0000
commit6cb7c6c52ed0523de59178755057b9a1ae6dcce2 (patch)
tree8b33f311c8ae615464a1e4adba37c03214291ec9 /patchwork/filters.py
parentd5b37617f6830ae96d125547bcbc4cf28a8664a4 (diff)
downloadpatchwork-6cb7c6c52ed0523de59178755057b9a1ae6dcce2.tar
patchwork-6cb7c6c52ed0523de59178755057b9a1ae6dcce2.tar.gz
py3: Add required 'future' imports
These are quite limited as patchwork only supports Python 2.6+. As such, only the 'print_function' and 'absolute_import' statements are required. Found using 'modernize' Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Diffstat (limited to 'patchwork/filters.py')
-rw-r--r--patchwork/filters.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/patchwork/filters.py b/patchwork/filters.py
index db671ff..bb752fb 100644
--- a/patchwork/filters.py
+++ b/patchwork/filters.py
@@ -18,6 +18,8 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+from __future__ import absolute_import
+
from patchwork.models import Person, State
from django.utils.safestring import mark_safe
from django.utils.html import escape