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

Change subject: [cleanup] Show a FutureWarning for LogEntryFactory.logtypes
......................................................................

[cleanup] Show a FutureWarning for LogEntryFactory.logtypes

Change-Id: I992526c1214c04bbe9e23707683de5c8750e37ec
---
M pywikibot/logentries.py
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/pywikibot/logentries.py b/pywikibot/logentries.py
index ea52c5e..8f9f3f1 100644
--- a/pywikibot/logentries.py
+++ b/pywikibot/logentries.py
@@ -402,7 +402,7 @@

     @classproperty
     @deprecated('Site.logtypes or LogEntryFactory.get_entry_class(logtype)',
-                since='20160918')
+                since='20160918', future_warning=True)
     def logtypes(cls):
         """DEPRECATED LogEntryFactory class attribute of log types."""
         return cls._logtypes

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/649819
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: I992526c1214c04bbe9e23707683de5c8750e37ec
Gerrit-Change-Number: 649819
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to