Correct continuation line unaligned for hanging indent

This commit is contained in:
Baizley 2020-02-01 00:38:34 +01:00 committed by Nick Hall
parent 3b5d324b95
commit 89c73db352

View File

@ -501,9 +501,8 @@ class NameDisplay:
custom_formats = sorted([
(index, name, format_string, active)
for index, (name, format_string, active, *_) in self.name_formats.items()
if index < 0 and
(not only_active or active)
for index, (name, format_string, active, *rest) in self.name_formats.items()
if index < 0 and (not only_active or active)
])
if only_custom:
@ -511,10 +510,8 @@ class NameDisplay:
standard_formats = sorted([
(index, name, format_string, active)
for index, (name, format_string, active, *_) in self.name_formats.items()
if index >= 0 and
(also_default or index) and
(not only_active or active)
for index, (name, format_string, active, *rest) in self.name_formats.items()
if index >= 0 and (also_default or index) and (not only_active or active)
])
return standard_formats + custom_formats