jenkins-bot submitted this change.
restore login
was removed in Ie60a4ebff59a337359f6b67e0e97bcfa15eb6fb8 without explanation
Bug: T328204
Change-Id: Icf68c1b8d3ab73814cecb3e7c8e75a766cadccee
---
M scripts/touch.py
1 file changed, 13 insertions(+), 0 deletions(-)
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()
To view, visit change 884429. To unsubscribe, or for help writing mail filters, visit settings.