From 95abcffb754319a3d441009f56ab7df721d51a0f Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Wed, 22 Feb 2023 18:29:54 +0000 Subject: [PATCH] log-search: Fix precedence in no-color case. --- scripts/log-search | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/log-search b/scripts/log-search index 2735e4b326..64496114eb 100755 --- a/scripts/log-search +++ b/scripts/log-search @@ -448,7 +448,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__":