jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/884429 )
Change subject: restore login ......................................................................
restore login
was removed in Ie60a4ebff59a337359f6b67e0e97bcfa15eb6fb8 without explanation
Bug: T328204 Change-Id: Icf68c1b8d3ab73814cecb3e7c8e75a766cadccee --- M scripts/touch.py 1 file changed, 13 insertions(+), 0 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/touch.py b/scripts/touch.py index 047fe23..d725851 100755 --- a/scripts/touch.py +++ b/scripts/touch.py @@ -160,6 +160,7 @@
if not pywikibot.bot.suggest_help(missing_generator=not gen_factory.gens, unknown_parameters=unknown): + pywikibot.Site().login() gen = gen_factory.getCombinedGenerator(preload=bot_class == TouchBot) bot_class(generator=gen, **options).run()
pywikibot-commits@lists.wikimedia.org