jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/374128 )

Change subject: Only write to the JSON file once
......................................................................


Only write to the JSON file once

Change-Id: I102e9c9b91b8ab3c928d0521645e50cc84ae5cc9
---
M run.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/run.py b/run.py
index 201f90f..42fbef4 100755
--- a/run.py
+++ b/run.py
@@ -116,8 +116,8 @@
         wait_for_containers(count=0)
         for ext in cleanup:
             data[ext][version] = check_logs(ext, version)
-        with open('output.json', 'w') as f:
-            json.dump(data, f)
+    with open('output.json', 'w') as f:
+        json.dump(data, f)
     make_index()
 
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I102e9c9b91b8ab3c928d0521645e50cc84ae5cc9
Gerrit-PatchSet: 1
Gerrit-Project: labs/libraryupgrader
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to