changeset 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 a87338fe8cfa
children 9eb69fa5a783
files mercurial/match.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/match.py	Wed Dec 14 22:22:12 2022 -0500
+++ b/mercurial/match.py	Wed Dec 14 22:24:54 2022 -0500
@@ -368,7 +368,7 @@
                     % (
                         pat,
                         inst.message,
-                    )  # pytype: disable=unsupported-operands
+                    )
                 )
             except IOError as inst:
                 if warn: