From: Stephen Finucane Date: Fri, 9 Sep 2016 16:19:51 +0000 (+0100) Subject: trivial: noqa unused imports X-Git-Tag: v2.0.0-rc1~227 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaa0975dea27cba77c9479313e40bb8c4b523669;p=thirdparty%2Fpatchwork.git trivial: noqa unused imports Signed-off-by: Stephen Finucane Reviewed-by: Daniel Axtens --- diff --git a/patchwork/compat.py b/patchwork/compat.py index c8bade61..5c8ca234 100644 --- a/patchwork/compat.py +++ b/patchwork/compat.py @@ -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