Mercurial > public > mercurial-scm > hg
diff hgext/mq.py @ 52638:dc36535a5edc
style: drop extraneous parentheses
These were rewritten by `pyupgrade`.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 06 Jan 2025 14:07:43 -0500 |
parents | d3d1fd3b8a9d |
children | 24ee91ba9aa8 |
line wrap: on
line diff
--- a/hgext/mq.py Mon Jan 06 13:54:40 2025 -0500 +++ b/hgext/mq.py Mon Jan 06 14:07:43 2025 -0500 @@ -1257,7 +1257,7 @@ mar = changes[:3] else: mar = (changes.modified, changes.added, changes.removed) - if any((b'.hgsubstate' in files for files in mar)): + if any(b'.hgsubstate' in files for files in mar): return # already listed up # not yet listed up if substatestate.added or not substatestate.any_tracked: