diff mercurial/branchmap.py @ 52663: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 c6ed4b359c4c
children 24ee91ba9aa8
line wrap: on
line diff
--- a/mercurial/branchmap.py	Mon Jan 06 13:54:40 2025 -0500
+++ b/mercurial/branchmap.py	Mon Jan 06 14:07:43 2025 -0500
@@ -145,7 +145,7 @@
                     closed.add(h)
 
         if rbheads:
-            rtiprev = max((int(clrev(node)) for node in rbheads))
+            rtiprev = max(int(clrev(node)) for node in rbheads)
             cache = new_branch_cache(
                 repo,
                 remotebranchmap,