From f0a3ce06fa7140164b3abec175800f0e51881948 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Sun, 27 May 2018 11:48:14 +0200 Subject: [PATCH] Enforce coding style --- navbar/templatetags/navbar.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/navbar/templatetags/navbar.py b/navbar/templatetags/navbar.py index d1be843..b524f96 100644 --- a/navbar/templatetags/navbar.py +++ b/navbar/templatetags/navbar.py @@ -25,7 +25,12 @@ def get_lang_data(path_info, lang_code, curr_lang): lang_name = get_lang_name(lang_code) rm = resolve(path_info) activate_lang(lang_code) - lang_url = reverse(rm.view_name, current_app='npb', args=rm.args, kwargs=rm.kwargs) + lang_url = reverse( + rm.view_name, + current_app='npb', + args=rm.args, + kwargs=rm.kwargs + ) activate_lang(curr_lang) return (lang_code, lang_name, lang_url)