jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/611945 )
Change subject: Update transferbot to py3 ......................................................................
Update transferbot to py3
Bug: T257399 Change-Id: Ide5543843546e1de25c2ddebd33e86a2f27d59f3 --- M scripts/transferbot.py 1 file changed, 1 insertion(+), 3 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/transferbot.py b/scripts/transferbot.py index 9af5e55..d55389e 100755 --- a/scripts/transferbot.py +++ b/scripts/transferbot.py @@ -50,8 +50,6 @@ # # Distributed under the terms of the MIT license. # -from __future__ import absolute_import, division, unicode_literals - import pywikibot from pywikibot.bot import suggest_help from pywikibot import pagegenerators @@ -59,7 +57,7 @@ docuReplacements = {'¶ms;': pagegenerators.parameterHelp} # noqa: N816
-def main(*args): +def main(*args) -> None: """ Process command line arguments and invoke bot.
pywikibot-commits@lists.wikimedia.org