jenkins-bot submitted this change.
[cleanup] Show a FutureWarning for LogEntryFactory.logtypes
Change-Id: I992526c1214c04bbe9e23707683de5c8750e37ec
---
M pywikibot/logentries.py
1 file changed, 1 insertion(+), 1 deletion(-)
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 change 649819. To unsubscribe, or for help writing mail filters, visit settings.