branchcache: simplify a long line
Gratuitous change to help code readability.
--- a/mercurial/branchmap.py Mon Feb 26 15:12:20 2024 +0100
+++ b/mercurial/branchmap.py Mon Feb 26 15:15:10 2024 +0100
@@ -496,13 +496,11 @@
except Exception as inst:
if repo.ui.debugflag:
msg = b'invalid %s: %s\n'
- repo.ui.debug(
- msg
- % (
- _branchcachedesc(repo),
- stringutil.forcebytestr(inst),
- )
+ msg %= (
+ _branchcachedesc(repo),
+ stringutil.forcebytestr(inst),
)
+ repo.ui.debug(msg)
bcache = None
finally: