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

jan Iversen jani at documentfoundation.org
Thu Jan 26 08:57:16 UTC 2017


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

New commits:
commit 426092fb7addf285436eb9f487d6decbf28ae893
Author: jan Iversen <jani at documentfoundation.org>
Date:   Thu Jan 26 09:56:30 2017 +0100

    esc-mentoring, solved "we_miss_you" problem

diff --git a/esc-reporting/esc-report.py b/esc-reporting/esc-report.py
index ee51d66..1786bbb 100755
--- a/esc-reporting/esc-report.py
+++ b/esc-reporting/esc-report.py
@@ -155,7 +155,7 @@ def report_mentoring():
     for id, row in statList['people'].items():
       entry = {'name': row['name'], 'email': id, 'license': row['licenseText']}
       newestCommitDate = datetime.datetime.strptime(row['newestCommit'], '%Y-%m-%d')
-      if newestCommitDate >= mailedDate and newestCommitDate < cfg['1monthDate']:
+      if newestCommitDate > mailedDate and newestCommitDate < cfg['3monthDate']:
         myStatList['we_miss_you_email'].append(entry)
       x = row['commits']['1month']['owner']
       if x != 0 and row['commits']['total'] == x and not id in cfg['award-mailed']:


More information about the Libreoffice-commits mailing list