jenkins-bot submitted this change.
[IMPR] remove IDE warning for unfilled params
Change-Id: I4626d8310281d74092e09684518641de6d7d2d61
---
M pywikibot/tools/__init__.py
1 file changed, 1 insertion(+), 1 deletion(-)
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)
To view, visit change 634784. To unsubscribe, or for help writing mail filters, visit settings.