[Libreoffice-commits] dev-tools.git: esc-reporting/qa-tools.py

Xisco Fauli anistenis at gmail.com
Fri Nov 25 11:11:32 UTC 2016


 esc-reporting/qa-tools.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit afc49316036a8e8c5a71e43c409082f952119585
Author: Xisco Fauli <anistenis at gmail.com>
Date:   Fri Nov 25 12:10:59 2016 +0100

    Don't overwrite statList at the end

diff --git a/esc-reporting/qa-tools.py b/esc-reporting/qa-tools.py
index 1217def..ba4d8a8 100755
--- a/esc-reporting/qa-tools.py
+++ b/esc-reporting/qa-tools.py
@@ -175,6 +175,8 @@ def analyze_bugzilla(statList, bugzillaData, cfg):
     statNewDate = statList['stat']['newest']
     statOldDate = statList['stat']['oldest']
 
+    statList['addDate'] = datetime.date.today().strftime('%Y-%m-%d')
+
     for key in bugzillaData['bugs']:
         row = bugzillaData['bugs'][key]
         if not row['summary'].startswith('[META]'):
@@ -586,8 +588,6 @@ if __name__ == '__main__':
     statList = util_create_statList()
     analyze_bugzilla(statList, bugzillaData, cfg)
 
-    statList = util_load_file(cfg['homedir'] + 'stats.json')
-
     if len(sys.argv) > 1:
         if sys.argv[1] == 'report':
             QA_Report(statList)


More information about the Libreoffice-commits mailing list