qa/bugzillaChecker.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
New commits: commit 18d7c58f384ae4e5c8dff09c5f07e05ab9949708 Author: Xisco Fauli <xiscofa...@libreoffice.org> Date: Thu Mar 8 18:46:00 2018 +0100 QA: Fix error when bug is assigned at creation time diff --git a/qa/bugzillaChecker.py b/qa/bugzillaChecker.py index cce8dff..0bf58e2 100755 --- a/qa/bugzillaChecker.py +++ b/qa/bugzillaChecker.py @@ -260,8 +260,7 @@ def analyze_bugzilla_checkers(statList, bugzillaData, cfg): if removedAssignee == "libreoffice-b...@lists.freedesktop.org" and \ row['assigned_to'] != 'libreoffice-b...@lists.freedesktop.org' and \ ( rowStatus == 'NEW' or rowStatus == 'UNCONFIRMED'): - addAssigned = True - addAssignedValue = resultValue + util_add_to_result(lResults, 'change_status_assigned', resultValue) if addedAssignee == "libreoffice-b...@lists.freedesktop.org" and \ row['assigned_to'] == 'libreoffice-b...@lists.freedesktop.org' and rowStatus == 'ASSIGNED': util_add_to_result(lResults, 'remove_assigned_status', resultValue) @@ -307,9 +306,10 @@ def analyze_bugzilla_checkers(statList, bugzillaData, cfg): util_add_to_result(lResults, 'is_reopened', reopenValue) #In case the reporter assigned the bug to himself at creation time - if addAssigned or (creationDate >= cfg['reportPeriod'] and row['assigned_to'] != 'libreoffice-b...@lists.freedesktop.org' and \ - (rowStatus == 'NEW' or rowStatus == 'UNCONFIRMED')): - util_add_to_result(lResults, 'change_status_assigned', addAssignedValue) + if creationDate >= cfg['reportPeriod'] and row['assigned_to'] != 'libreoffice-b...@lists.freedesktop.org' and \ + (rowStatus == 'NEW' or rowStatus == 'UNCONFIRMED'): + value = [ rowId, row['creation_time'], row['assigned_to'] ] + util_add_to_result(lResults, 'change_status_assigned', value) if movedToNeedInfo and everConfirmed: util_add_to_result(lResults, 'moved_to_needinfo', movedToNeedInfoValue) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits