replace old %-formatted and .format(…) strings with f-strings (#7671)
mostly using flynt https://github.com/ikamensh/flynt
This commit is contained in:
@@ -139,7 +139,7 @@ def main():
|
||||
|
||||
extra = ""
|
||||
if util.EXECUTABLE:
|
||||
extra = " - Executable ({})".format(version.__variant__)
|
||||
extra = f" - Executable ({version.__variant__})"
|
||||
else:
|
||||
git_head = util.git_head()
|
||||
if git_head:
|
||||
|
||||
Reference in New Issue
Block a user