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

jan Iversen jani at documentfoundation.org
Wed Dec 21 09:17:54 UTC 2016


 esc-reporting/esc-report.py |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 7178021014bdf2668f8d1e520743e3cee11fc4bd
Author: jan Iversen <jani at 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-bugs at lists.freedesktop.org') :
-          myStatList['assign_problem'].append(key)
+      if (row['status'] == 'ASSIGNED' and (row['assigned_to'] == '' or row['assigned_to'] == 'libreoffice-bugs at lists.freedesktop.org')) or \
+         (row['status'] != 'ASSIGNED' and row['assigned_to'] != '' and row['assigned_to'] != 'libreoffice-bugs at lists.freedesktop.org') :
+        myStatList['assign_problem'].append(key)
       if len(row['comments']) >= 5:
         myStatList['too_many_comments'].append(key)
       if not 'jani at documentfoundation.org' in row['cc']:


More information about the Libreoffice-commits mailing list