jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/689514 )
Change subject: [cleanup] Remove deprecated Family.ignore_certificate_error() method ......................................................................
[cleanup] Remove deprecated Family.ignore_certificate_error() method
Change-Id: I507d92ddb7d4456e26717684f76283d6c895c4d8 --- M pywikibot/family.py 1 file changed, 0 insertions(+), 11 deletions(-)
Approvals: JJMC89: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/family.py b/pywikibot/family.py index d41ef5c..5e29376 100644 --- a/pywikibot/family.py +++ b/pywikibot/family.py @@ -705,17 +705,6 @@ """ return True
- @deprecated('verify_SSL_certificate', since='20201013', - future_warning=True) - def ignore_certificate_error(self, code: str) -> bool: - """ - DEPRECATED. Return whether a HTTPS certificate error should be ignored. - - @param code: language code - @return: flag to allow access if certificate has an error. - """ - return not self.verify_SSL_certificate - def hostname(self, code): """The hostname to use for standard http connections.""" return self.langs[code]
pywikibot-commits@lists.wikimedia.org