summaryrefslogtreecommitdiff
path: root/patchwork/filters.py
diff options
context:
space:
mode:
authorStephen Finucane <stephen.finucane@intel.com>2015-11-26 19:26:02 +0000
committerStephen Finucane <stephen.finucane@intel.com>2015-12-03 22:08:54 +0000
commitc9ad6b85d8eaf3ead23384bb227dcc89545c42a8 (patch)
tree97dee3afd1881f20a5f1c2305f96fb4011fdc1de /patchwork/filters.py
parent6cb7c6c52ed0523de59178755057b9a1ae6dcce2 (diff)
downloadpatchwork-c9ad6b85d8eaf3ead23384bb227dcc89545c42a8.tar
patchwork-c9ad6b85d8eaf3ead23384bb227dcc89545c42a8.tar.gz
trivial: Reorder imports
Imports are easier to read if they are grouped by type (standard library, third party, application) and organised alphabetically. Make it so. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Diffstat (limited to 'patchwork/filters.py')
-rw-r--r--patchwork/filters.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/patchwork/filters.py b/patchwork/filters.py
index bb752fb..a260ef1 100644
--- a/patchwork/filters.py
+++ b/patchwork/filters.py
@@ -17,15 +17,17 @@
# 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 patchwork.models import Person, State
-from django.utils.safestring import mark_safe
-from django.utils.html import escape
-from django.contrib.auth.models import User
from urllib import quote
+from django.contrib.auth.models import User
+from django.utils.html import escape
+from django.utils.safestring import mark_safe
+
+from patchwork.models import Person, State
+
+
class Filter(object):
def __init__(self, filters):
self.filters = filters