[Libreoffice-commits] dev-tools.git: qa/createBlogReport.py
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Wed Nov 6 17:01:37 UTC 2019
qa/createBlogReport.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit a7c7837108597c70e491ef1f901866477b8acab9
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Wed Nov 6 18:00:01 2019 +0100
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Wed Nov 6 18:00:49 2019 +0100
QA: this might cause a KeyError
diff --git a/qa/createBlogReport.py b/qa/createBlogReport.py
index 689b846..d729f07 100755
--- a/qa/createBlogReport.py
+++ b/qa/createBlogReport.py
@@ -298,16 +298,16 @@ def analyze_bugzilla_data(statList, bugzillaData, cfg):
addedResolution = change['added']
removedResolution = change['removed']
+ if isResolved and removedResolution:
+ statList['resolvedStatuses'][removedResolution] -= 1
+ isResolved = False
+
if addedResolution:
if addedResolution not in statList['resolvedStatuses']:
statList['resolvedStatuses'][addedResolution] = 0
statList['resolvedStatuses'][addedResolution] += 1
isResolved = True
- if isResolved and removedResolution:
- statList['resolvedStatuses'][removedResolution] -= 1
- isResolved = False
-
if addedResolution == 'FIXED':
fixedBugs[rowId] = actionDate
isFixed = True
More information about the Libreoffice-commits
mailing list