jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/699543 )
Change subject: [cleanup] Use FutureWarning for deprecated arguments
......................................................................
[cleanup] Use FutureWarning for deprecated arguments
Change-Id: I89e25a4ee431df37dd9e11da7dc861079b3aedb4
---
M pywikibot/tools/__init__.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
JJMC89: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/tools/__init__.py b/pywikibot/tools/__init__.py
index a941084..746c127 100644
--- a/pywikibot/tools/__init__.py
+++ b/pywikibot/tools/__init__.py
@@ -1625,7 +1625,7 @@
warn('{old_arg} argument of {name} '
'is deprecated; use {new_arg} instead.'
.format_map(output_args),
- DeprecationWarning, depth)
+ FutureWarning, depth)
__kw[new_arg] = __kw[old_arg]
elif new_arg == '':
pass
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/699543
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: I89e25a4ee431df37dd9e11da7dc861079b3aedb4
Gerrit-Change-Number: 699543
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: JJMC89 <JJMC89.Wikimedia(a)gmail.com>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged