esc-reporting/esc-report.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit 7178021014bdf2668f8d1e520743e3cee11fc4bd Author: jan Iversen <j...@documentfoundation.org> Date: Wed Dec 21 10:17:33 2016 +0100 problem with BZ ASSIGN status diff --git a/esc-reporting/esc-report.py b/esc-reporting/esc-report.py index b5d02db..cc24085 100755 --- a/esc-reporting/esc-report.py +++ b/esc-reporting/esc-report.py @@ -230,8 +230,9 @@ def report_mentoring(): xDate = datetime.datetime.strptime(row['last_change_time'], "%Y-%m-%dT%H:%M:%SZ") if xDate < cfg['1monthDate']: myStatList['to_unassign'].append(key) - if row['assigned_to'] == '' or (row['assigned_to'] != '' and row['assigned_to'] != 'libreoffice-b...@lists.freedesktop.org') : - myStatList['assign_problem'].append(key) + if (row['status'] == 'ASSIGNED' and (row['assigned_to'] == '' or row['assigned_to'] == 'libreoffice-b...@lists.freedesktop.org')) or \ + (row['status'] != 'ASSIGNED' and row['assigned_to'] != '' and row['assigned_to'] != 'libreoffice-b...@lists.freedesktop.org') : + myStatList['assign_problem'].append(key) if len(row['comments']) >= 5: myStatList['too_many_comments'].append(key) if not 'j...@documentfoundation.org' in row['cc']: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits