jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/677477 )
Change subject: [cleanup] Show a FutureWarnig with not qualified string passed to
checkstr
......................................................................
[cleanup] Show a FutureWarnig with not qualified string passed to checkstr
Change-Id: I44d95ed4495bffe46f7e4753337f0b55ad3badec
---
M scripts/archivebot.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
JJMC89: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/archivebot.py b/scripts/archivebot.py
index 8c947d6..e103d3d 100755
--- a/scripts/archivebot.py
+++ b/scripts/archivebot.py
@@ -238,7 +238,7 @@
key = 's'
duration = string
issue_deprecation_warning('Time period without qualifier',
- string + key, 1, UserWarning,
+ string + key, 1, FutureWarning,
since='20161009')
else:
key = string[-1]
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/677477
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: I44d95ed4495bffe46f7e4753337f0b55ad3badec
Gerrit-Change-Number: 677477
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: JJMC89 <JJMC89.Wikimedia(a)gmail.com>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged