From aaa0975dea27cba77c9479313e40bb8c4b523669 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 9 Sep 2016 17:19:51 +0100 Subject: [PATCH] trivial: noqa unused imports Signed-off-by: Stephen Finucane Reviewed-by: Daniel Axtens --- patchwork/compat.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.47.3