From ec862ed5261e40ddf31dab320477a6db15b42d77 Mon Sep 17 00:00:00 2001 From: dadosch Date: Fri, 31 Aug 2018 00:17:48 +0200 Subject: [PATCH] make pycodestyle happy... --- src/documents/admin.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/documents/admin.py b/src/documents/admin.py index 4143ef2a1..7a6f3c368 100644 --- a/src/documents/admin.py +++ b/src/documents/admin.py @@ -202,13 +202,11 @@ class DocumentAdmin(CommonAdmin): @staticmethod def _html_tag(kind, inside=None, **kwargs): - - attributes = format_html_join(' ', '{}="{}"', kwargs.items()) + attributes = format_html_join(' ', '{}="{}"', kwargs.items()) if inside is not None: return format_html("<{kind} {attributes}>{inside}", - kind=kind, attributes=attributes, inside=inside) - + kind=kind, attributes=attributes, inside=inside) return format_html("<{} {}/>", kind, attributes)