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

-- 
To view, visit https://gerrit.wikimedia.org/r/120194
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0489098e896f307e9e22c4ef45f1488b3cfda97a
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <i...@gno.de>
Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl>
Gerrit-Reviewer: Pyfisch <pyfi...@gmail.com>
Gerrit-Reviewer: Russell Blau <russb...@imapmail.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to