# HG changeset patch # User Pierre-Yves David # Date 2024-02-26 14:15:10 # Node ID de1bc7db9f61dbb5760322a0fca9a012876b836a # Parent 47752632b4fc089ebda82438c9531a093fca7f56 branchcache: simplify a long line Gratuitous change to help code readability. diff --git a/mercurial/branchmap.py b/mercurial/branchmap.py --- a/mercurial/branchmap.py +++ b/mercurial/branchmap.py @@ -496,13 +496,11 @@ class branchcache(_BaseBranchCache): except Exception as inst: if repo.ui.debugflag: msg = b'invalid %s: %s\n' - repo.ui.debug( - msg - % ( - _branchcachedesc(repo), - stringutil.forcebytestr(inst), - ) + msg %= ( + _branchcachedesc(repo), + stringutil.forcebytestr(inst), ) + repo.ui.debug(msg) bcache = None finally: