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