jenkins-bot submitted this change.
[cleanup] Remove desupported site.LoginStatus
Change-Id: I251e2c58e64149b486cd1662a6e8c1091f525c29
---
M pywikibot/site/__init__.py
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/pywikibot/site/__init__.py b/pywikibot/site/__init__.py
index 546cb6b..4d03030 100644
--- a/pywikibot/site/__init__.py
+++ b/pywikibot/site/__init__.py
@@ -80,7 +80,6 @@
itergroup,
MediaWikiVersion,
merge_unique_dicts,
- ModuleDeprecationWrapper,
PYTHON_VERSION,
remove_last_args,
)
@@ -90,9 +89,8 @@
else:
from typing import List
-__all__ = ('APISite', 'DataSite', 'LoginStatus', 'Namespace',
- 'NamespacesDict', 'PageInUse', 'RemovedSite',
- 'Siteinfo', 'TokenWallet')
+__all__ = ('APISite', 'DataSite', 'Namespace', 'NamespacesDict', 'PageInUse',
+ 'RemovedSite', 'Siteinfo', 'TokenWallet')
_logger = 'wiki.site'
@@ -6608,10 +6606,3 @@
See self._wbset_action(self, itemdef, action, action_data, **kwargs)
"""
return self._wbset_action(itemdef, 'wbsetsitelink', sitelink, **kwargs)
-
-
-wrapper = ModuleDeprecationWrapper(__name__)
-# Note: use LoginStatus instead of _LoginStatus
-# after desupport warning is removed
-wrapper._add_deprecated_attr('LoginStatus', _LoginStatus,
- since='20200919', future_warning=True)
To view, visit change 650753. To unsubscribe, or for help writing mail filters, visit settings.