Enforce coding style
This commit is contained in:
parent
1558b0e6fd
commit
f0a3ce06fa
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue