jenkins-bot submitted this change.
Update transferbot to py3
Bug: T257399
Change-Id: Ide5543843546e1de25c2ddebd33e86a2f27d59f3
---
M scripts/transferbot.py
1 file changed, 1 insertion(+), 3 deletions(-)
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.
To view, visit change 611945. To unsubscribe, or for help writing mail filters, visit settings.