Switch this formatter to fstring.
This commit is contained in:
parent
91bf90862b
commit
1727be598a
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ def search(
|
|||
search_text = search_object
|
||||
result_text = search_object
|
||||
if line_numbers:
|
||||
result_text = '%4d | %s' % (index+1, result_text)
|
||||
result_text = f'{index+1:>4} | {result_text}'
|
||||
|
||||
if not all_terms_match(search_text, terms, term_matches):
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue