diff mercurial/admin/verify.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 1c5810ce737e
children
line wrap: on
line diff
--- a/mercurial/admin/verify.py	Mon Jan 06 13:54:40 2025 -0500
+++ b/mercurial/admin/verify.py	Mon Jan 06 14:07:43 2025 -0500
@@ -224,7 +224,7 @@
 
             try:
                 matching_option = next(
-                    (o for o in check.func.options if o[0] == option_name)
+                    o for o in check.func.options if o[0] == option_name
                 )
             except StopIteration:
                 raise error.InputError(