Legoktm has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/libraryupgrader 
refs/changes/28/374128/1

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: newchange
Gerrit-Change-Id: I102e9c9b91b8ab3c928d0521645e50cc84ae5cc9
Gerrit-PatchSet: 1
Gerrit-Project: labs/libraryupgrader
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

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

Reply via email to