jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/758046 )

Change subject: [cleanup] Remove deprecation warning for 
ignore_warnings/report_success
......................................................................

[cleanup] Remove deprecation warning for ignore_warnings/report_success

This warning is not clear and the parameters should be rethinked at all.

Bug: T271899
Change-Id: Ifd5f895e26465c6b270d4b2dfa8ce9f70a94ca66
---
M pywikibot/site/_apisite.py
1 file changed, 0 insertions(+), 6 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/site/_apisite.py b/pywikibot/site/_apisite.py
index 1101c30..cc8518a 100644
--- a/pywikibot/site/_apisite.py
+++ b/pywikibot/site/_apisite.py
@@ -74,7 +74,6 @@
     MediaWikiVersion,
     compute_file_hash,
     deprecated,
-    issue_deprecation_warning,
     merge_unique_dicts,
     normalize_username,
 )
@@ -2640,11 +2639,6 @@
             if not isinstance(ignore_warnings, bool):
                 raise ValueError('report_success may only be set to True when '
                                  'ignore_warnings is a boolean')
-            issue_deprecation_warning('"ignore_warnings" as a boolean and '
-                                      '"report_success" is True or None',
-                                      '"report_success=False" or define '
-                                      '"ignore_warnings" as callable/iterable',
-                                      3, since='20150823')
         if isinstance(ignore_warnings, Iterable):
             ignored_warnings = ignore_warnings


--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/758046
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ifd5f895e26465c6b270d4b2dfa8ce9f70a94ca66
Gerrit-Change-Number: 758046
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to