jenkins-bot has submitted this change and it was merged.
Change subject: remove obsolete pywikibot.stopme() at the end of the script. ......................................................................
remove obsolete pywikibot.stopme() at the end of the script.
In core branch pywikibot.stopme() is called by atexit library. The function is executed upon normal program termination. This patch prohibits executing it twice.
Change-Id: I0489098e896f307e9e22c4ef45f1488b3cfda97a --- M scripts/touch.py 1 file changed, 1 insertion(+), 4 deletions(-)
Approvals: Merlijn van Deen: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/touch.py b/scripts/touch.py index 59c21cb..86571b8 100755 --- a/scripts/touch.py +++ b/scripts/touch.py @@ -88,7 +88,4 @@
if __name__ == "__main__": - try: - main() - finally: - pywikibot.stopme() + main()
pywikibot-commits@lists.wikimedia.org