# HG changeset patch # User Pierre-Yves David # Date 1622531123 -7200 # Node ID 0693dc0b44fb253675d52fb16e3db158e60a8c4f # Parent 9305824d3a978fee83c1b2ba43efb7748e655997 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/D10812 diff -r 9305824d3a97 -r 0693dc0b44fb mercurial/verify.py --- a/mercurial/verify.py Tue Jun 01 09:03:48 2021 +0200 +++ b/mercurial/verify.py Tue Jun 01 09:05:23 2021 +0200 @@ -329,11 +329,8 @@ if n in mflinkrevs: del mflinkrevs[n] elif dir: - self._err( - lr, - _(b"%s not in parent-directory manifest") % short(n), - label, - ) + msg = _(b"%s not in parent-directory manifest") % short(n) + self._err(lr, msg, label) else: self._err(lr, _(b"%s not in changesets") % short(n), label)