# HG changeset patch # User Pierre-Yves David # Date 2021-06-01 07:11:07 # Node ID f39df5545cf230179155cc808b5e8dc43e6e4b1d # Parent 80c690bf4953ae97046c46c104e4032faef96edc 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/D10817 diff --git a/mercurial/verify.py b/mercurial/verify.py --- a/mercurial/verify.py +++ b/mercurial/verify.py @@ -494,9 +494,8 @@ class verifier(object): storefiles.remove(ff) except KeyError: if self.warnorphanstorefiles: - self._warn( - _(b" warning: revlog '%s' not in fncache!") % ff - ) + msg = _(b" warning: revlog '%s' not in fncache!") + self._warn(msg % ff) self.fncachewarned = True if not len(fl) and (self.havecl or self.havemf):