comparison mercurial/admin/verify.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 1c5810ce737e
children
comparison
equal deleted inserted replaced
52637:3b6f25190157 52638:dc36535a5edc
222 _(b"check '%s' has no option '%s'") % (name, option_name) 222 _(b"check '%s' has no option '%s'") % (name, option_name)
223 ) 223 )
224 224
225 try: 225 try:
226 matching_option = next( 226 matching_option = next(
227 (o for o in check.func.options if o[0] == option_name) 227 o for o in check.func.options if o[0] == option_name
228 ) 228 )
229 except StopIteration: 229 except StopIteration:
230 raise error.InputError( 230 raise error.InputError(
231 _(b"check '%s' has no option '%s'") % (name, option_name) 231 _(b"check '%s' has no option '%s'") % (name, option_name)
232 ) 232 )