jenkins-bot submitted this change.
[cleanup] Show a FutureWarning for Property.getType
Change-Id: I2bf1d25f7d8b88d86dabc3eeb3af8b7446730bb0
---
M pywikibot/page/__init__.py
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pywikibot/page/__init__.py b/pywikibot/page/__init__.py
index 08dfa29..4e2d771 100644
--- a/pywikibot/page/__init__.py
+++ b/pywikibot/page/__init__.py
@@ -4770,7 +4770,7 @@
self._type = self.repo.getPropertyType(self)
return self._type
- @deprecated('Property.type', since='20140607')
+ @deprecated('Property.type', since='20140607', future_warning=True)
def getType(self):
"""
Return the type of this property.
To view, visit change 629636. To unsubscribe, or for help writing mail filters, visit settings.