]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
trivial: noqa unused imports
authorStephen Finucane <stephenfinucane@hotmail.com>
Fri, 9 Sep 2016 16:19:51 +0000 (17:19 +0100)
committerStephen Finucane <stephenfinucane@hotmail.com>
Sat, 24 Sep 2016 23:00:21 +0000 (00:00 +0100)
Signed-off-by: Stephen Finucane <stephenfinucane@hotmail.com>
Reviewed-by: Daniel Axtens <dja@axtens.net>
patchwork/compat.py

index c8bade61b1ab308f1771b461878308bf4e545d01..5c8ca234ade8e55be9eaa959a5e3d0c3d743993c 100644 (file)
@@ -30,9 +30,10 @@ import django
 # https://docs.djangoproject.com/en/dev/releases/1.8/
 
 if django.VERSION >= (1, 8):
-    from django.template.loader import render_to_string
+    from django.template.loader import render_to_string  # noqa
 else:
-    from django.template import loader, RequestContext
+    from django.template import loader  # noqa
+    from django.template import RequestContext  # noqa
 
     def render_to_string(template_name, context=None, request=None):
         context_instance = RequestContext(request) if request else None