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/D10818
--- a/mercurial/verify.py Tue Jun 01 09:11:07 2021 +0200
+++ b/mercurial/verify.py Tue Jun 01 09:11:54 2021 +0200
@@ -514,11 +514,8 @@
if problem.warning:
self._warn(problem.warning)
elif problem.error:
- self._err(
- linkrev if linkrev is not None else lr,
- problem.error,
- f,
- )
+ linkrev_msg = linkrev if linkrev is not None else lr
+ self._err(linkrev_msg, problem.error, f)
else:
raise error.ProgrammingError(
b'problem instance does not set warning or error '