jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1195357?usp=email )

Change subject: Cleanup: Deprecate isPublic method of Family class
......................................................................

Cleanup: Deprecate isPublic method of Family class

Bug: T407049
Change-Id: I299347bf4eef74d9bb7dbc94db4fa30cf4f3634f
---
M pywikibot/family.py
1 file changed, 5 insertions(+), 1 deletion(-)

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




diff --git a/pywikibot/family.py b/pywikibot/family.py
index 73c4379..390e8b0 100644
--- a/pywikibot/family.py
+++ b/pywikibot/family.py
@@ -703,8 +703,12 @@
         """Return the shared image repository, if any."""
         return (None, None)

+    @deprecated(since='10.6.0')
     def isPublic(self, code) -> bool:
-        """Check the wiki require logging in before viewing it."""
+        """Check the wiki require logging in before viewing it.
+
+        .. deprecated:: 10.6
+        """
         return True

     def post_get_convert(self, site, getText):

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

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

Reply via email to