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()


--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/884429
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Icf68c1b8d3ab73814cecb3e7c8e75a766cadccee
Gerrit-Change-Number: 884429
Gerrit-PatchSet: 2
Gerrit-Owner: JJMC89 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to