jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/618233 )
Change subject: [cleanup] Show a FutureWarning for deprecated
XmlDumpTemplatePageGenerator class
......................................................................
[cleanup] Show a FutureWarning for deprecated XmlDumpTemplatePageGenerator class
Change-Id: Id94692fc623ba02d6f2889af257627ca49810bd9
---
M scripts/template.py
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
D3r1ck01: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/template.py b/scripts/template.py
index 2dab17b..78accae 100755
--- a/scripts/template.py
+++ b/scripts/template.py
@@ -106,7 +106,7 @@
"""
#
-# (C) Pywikibot team, 2003-2019
+# (C) Pywikibot team, 2003-2020
#
# Distributed under the terms of the MIT license.
#
@@ -125,7 +125,7 @@
from scripts.replace import ReplaceRobot as ReplaceBot
-@deprecated('XMLDumpPageGenerator', since='20151109')
+@deprecated('XMLDumpPageGenerator', since='20151109', future_warning=True)
class XmlDumpTemplatePageGenerator(XMLDumpPageGenerator):
"""
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/618233
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: Id94692fc623ba02d6f2889af257627ca49810bd9
Gerrit-Change-Number: 618233
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits