mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
python: Elide unnecessary list wrappers.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
eff0a73925
commit
2665a3ce2b
@@ -472,7 +472,7 @@ def print_line(
|
||||
url,
|
||||
]
|
||||
|
||||
print(color + " ".join([p for p in parts if p is not None]) + (ENDC if use_color else ""))
|
||||
print(color + " ".join(p for p in parts if p is not None) + (ENDC if use_color else ""))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Reference in New Issue
Block a user