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/D10811
--- a/mercurial/verify.py Tue Jun 01 09:03:24 2021 +0200
+++ b/mercurial/verify.py Tue Jun 01 09:03:48 2021 +0200
@@ -211,10 +211,9 @@
if self.errors:
ui.warn(_(b"%d integrity errors encountered!\n") % self.errors)
if self.badrevs:
- ui.warn(
- _(b"(first damaged changeset appears to be %d)\n")
- % min(self.badrevs)
- )
+ msg = _(b"(first damaged changeset appears to be %d)\n")
+ msg %= min(self.badrevs)
+ ui.warn(msg)
return 1
return 0