esc-reporting/qa-tools.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 81e104ee6a7c1d0c08e718969fa792b3e27ebc64
Author: Xisco Fauli <aniste...@gmail.com>
Date:   Mon Sep 18 10:14:42 2017 +0200

    Fix issue with metabugs removed

diff --git a/esc-reporting/qa-tools.py b/esc-reporting/qa-tools.py
index 13a0970..fa301f7 100755
--- a/esc-reporting/qa-tools.py
+++ b/esc-reporting/qa-tools.py
@@ -391,7 +391,7 @@ def analyze_bugzilla(statList, bugzillaData, cfg, lIgnore):
                                 #TODO
                                 #util_increase_user_actions(statList, key, 
actionMail, bugTargets, 'metabug_added', actionDate)
 
-                                if actionDate >= cfg[reportPeriod] and 
int(metabug) in row['blocks']:
+                                if actionDate >= cfg[reportPeriod] and 
int(metabug) not in row['blocks']:
                                     if metabug not in 
statList['detailedReport']['metabug_removed']:
                                         
statList['detailedReport']['metabug_removed'][metabug] = 0
                                         
statList['detailedReport']['lists']['metabug_removed'][metabug] = [[],[]]
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to