jenkins-bot has submitted this change and it was merged.
Change subject: pep8-ified scripts/login.py ......................................................................
pep8-ified scripts/login.py
Change-Id: I00045034e30dc4fa2458290b36f2da441315d822 --- M scripts/login.py 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: Ladsgroup: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/login.py b/scripts/login.py index 90d73fe..afdc9a4 100755 --- a/scripts/login.py +++ b/scripts/login.py @@ -52,6 +52,7 @@ from pywikibot import config, deprecate_arg from pywikibot.exceptions import NoSuchSite, NoUsername
+ def main(*args): password = None sysop = False @@ -60,7 +61,7 @@ if arg.startswith("-pass"): if len(arg) == 5: password = pywikibot.input(u'Password for all accounts:', - password = True) + password=True) else: password = arg[6:] elif arg == "-sysop":