jenkins-bot submitted this change.
[cleanup] remove deprecated logtypes classproperty
This also removes warnings in tox-doc-docker
Change-Id: Ib89bfe2433df984e17bedad4beda767c2f910d95
---
M pywikibot/logentries.py
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/pywikibot/logentries.py b/pywikibot/logentries.py
index bee3ae5..68d9708 100644
--- a/pywikibot/logentries.py
+++ b/pywikibot/logentries.py
@@ -1,6 +1,6 @@
"""Objects representing Mediawiki log entries."""
#
-# (C) Pywikibot team, 2007-2020
+# (C) Pywikibot team, 2007-2021
#
# Distributed under the terms of the MIT license.
#
@@ -11,7 +11,7 @@
from pywikibot.backports import List
from pywikibot.exceptions import Error, HiddenKeyError
-from pywikibot.tools import classproperty, deprecated
+from pywikibot.tools import deprecated
_logger = 'wiki'
@@ -397,13 +397,6 @@
logclass = self.get_valid_entry_class(logtype)
self._creator = lambda data: logclass(data, self._site)
- @classproperty
- @deprecated('Site.logtypes or LogEntryFactory.get_entry_class(logtype)',
- since='20160918', future_warning=True)
- def logtypes(cls):
- """DEPRECATED LogEntryFactory class attribute of log types."""
- return cls._logtypes
-
def create(self, logdata):
"""
Instantiate the LogEntry object representing logdata.
To view, visit change 658078. To unsubscribe, or for help writing mail filters, visit settings.