jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/629636 )

Change subject: [cleanup] Show a FutureWarning for Property.getType
......................................................................

[cleanup] Show a FutureWarning for Property.getType

Change-Id: I2bf1d25f7d8b88d86dabc3eeb3af8b7446730bb0
---
M pywikibot/page/__init__.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Mpaa: Looks good to me, approved
  jenkins-bot: Verified



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 https://gerrit.wikimedia.org/r/c/pywikibot/core/+/629636
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I2bf1d25f7d8b88d86dabc3eeb3af8b7446730bb0
Gerrit-Change-Number: 629636
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Mpaa <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to