diff options
author | Sam James <sam@gentoo.org> | 2023-01-10 13:20:51 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-10 15:12:38 +0000 |
commit | 3a5b0362f634e9514ed3a48efe77089f6457e048 (patch) | |
tree | 1c9cdf0ead24ae635cefb63c7f91c6cdd6d78c83 /bin/ebuild-ipc.py | |
parent | depgraph: Print dependency resolution time (diff) | |
download | portage-3a5b0362f634e9514ed3a48efe77089f6457e048.tar.gz portage-3a5b0362f634e9514ed3a48efe77089f6457e048.tar.bz2 portage-3a5b0362f634e9514ed3a48efe77089f6457e048.zip |
*/*: convert to f-strings (run flynt)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'bin/ebuild-ipc.py')
-rwxr-xr-x | bin/ebuild-ipc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild-ipc.py b/bin/ebuild-ipc.py index fc632e015..fa61d1ccc 100755 --- a/bin/ebuild-ipc.py +++ b/bin/ebuild-ipc.py @@ -239,7 +239,7 @@ try: if not buf: portage.util.writemsg_level( - "ebuild-ipc: {}\n".format(portage.localization._("read failed")), + f"ebuild-ipc: {portage.localization._('read failed')}\n", level=logging.ERROR, noiselevel=-1, ) @@ -254,7 +254,7 @@ try: # The pickle module can raise practically # any exception when given corrupt data. portage.util.writemsg_level( - "ebuild-ipc: {}\n".format(e), level=logging.ERROR, noiselevel=-1 + f"ebuild-ipc: {e}\n", level=logging.ERROR, noiselevel=-1 ) else: |