verify: use some intermediate variables instead of a multi-liner
This is shorter and easier to read as the indentation remains the same.
Differential Revision: https://phab.mercurial-scm.org/D10807
--- a/mercurial/verify.py Tue Jun 01 08:58:53 2021 +0200
+++ b/mercurial/verify.py Tue Jun 01 08:59:07 2021 +0200
@@ -145,10 +145,9 @@
linkrevs.append(lr)
except Exception:
pass
- self._warn(
- _(b" (expected %s)")
- % b" ".join(map(pycompat.bytestr, linkrevs))
- )
+ msg = _(b" (expected %s)")
+ msg %= b" ".join(map(pycompat.bytestr, linkrevs))
+ self._warn(msg)
lr = None # can't be trusted
try: