jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/634784 )
Change subject: [IMPR] remove IDE warning for unfilled params ......................................................................
[IMPR] remove IDE warning for unfilled params
Change-Id: I4626d8310281d74092e09684518641de6d7d2d61 --- M pywikibot/tools/__init__.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/tools/__init__.py b/pywikibot/tools/__init__.py index 0a71018..2118f55 100644 --- a/pywikibot/tools/__init__.py +++ b/pywikibot/tools/__init__.py @@ -171,7 +171,7 @@
def __exit__(self, exc_type, exc_val, exc_tb): """Stop logging warnings and show those that do not match to params.""" - super().__exit__() + super().__exit__(exc_type, exc_val, exc_tb) for warning in self.log: if ( not issubclass(warning.category, self.category)
pywikibot-commits@lists.wikimedia.org