comparison mercurial/match.py @ 49805:a06a503e3cf8

typing: drop an unnecessary warning disabling comment in match.py This stopped being necessary in d2e1dcd4490d, when the exception stopped being subscripted.
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 14 Dec 2022 22:24:54 -0500
parents c4874ebe8644
children 805d4a462abb
comparison
equal deleted inserted replaced
49804:a87338fe8cfa 49805:a06a503e3cf8
366 raise error.Abort( 366 raise error.Abort(
367 b'%s: %s' 367 b'%s: %s'
368 % ( 368 % (
369 pat, 369 pat,
370 inst.message, 370 inst.message,
371 ) # pytype: disable=unsupported-operands 371 )
372 ) 372 )
373 except IOError as inst: 373 except IOError as inst:
374 if warn: 374 if warn:
375 warn( 375 warn(
376 _(b"skipping unreadable pattern file '%s': %s\n") 376 _(b"skipping unreadable pattern file '%s': %s\n")