jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/722850 )
Change subject: [cleanup] Remove deprecated ReplaceRobot args
......................................................................
[cleanup] Remove deprecated ReplaceRobot args
Change-Id: Iadbe07011b561785bab53a3e5f89e6e86f825fd0
---
M scripts/replace.py
1 file changed, 1 insertion(+), 2 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/replace.py b/scripts/replace.py
index 89b63df..d1826b8 100755
--- a/scripts/replace.py
+++ b/scripts/replace.py
@@ -151,7 +151,7 @@
from pywikibot import editor, fixes, i18n, pagegenerators, textlib
from pywikibot.bot import ExistingPageBot, SingleSiteBot
from pywikibot.exceptions import InvalidPageError, NoPageError
-from pywikibot.tools import chars, deprecated_args
+from pywikibot.tools import chars
# This is required for the text that is shown when you run this script
@@ -522,7 +522,6 @@
about the missing site
"""
- @deprecated_args(acceptall='always', addedCat='addcat')
def __init__(self, generator, replacements, exceptions=None, **kwargs):
"""Initializer."""
self.available_options.update({
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/722850
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: Iadbe07011b561785bab53a3e5f89e6e86f825fd0
Gerrit-Change-Number: 722850
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged