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

jan Iversen jani at documentfoundation.org
Wed Jan 25 07:07:48 UTC 2017


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

New commits:
commit 27e31cd6b85bd5bb6b48eb7772c348ac00fe6e90
Author: jan Iversen <jani at documentfoundation.org>
Date:   Wed Jan 25 08:07:00 2017 +0100

    esc-mentoring, back to 1month survey for new patches.

diff --git a/esc-reporting/esc-report.py b/esc-reporting/esc-report.py
index 996cfe2..ee51d66 100755
--- a/esc-reporting/esc-report.py
+++ b/esc-reporting/esc-report.py
@@ -155,10 +155,10 @@ 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['3monthDate']:
+      if newestCommitDate >= mailedDate and newestCommitDate < cfg['1monthDate']:
         myStatList['we_miss_you_email'].append(entry)
-      x = row['commits']['3month']['owner']
-      if x != 0 and row['commits']['total'] == x and  not id in cfg['award-mailed']:
+      x = row['commits']['1month']['owner']
+      if x != 0 and row['commits']['total'] == x and not id in cfg['award-mailed']:
         myStatList['award_1st_email'].append(entry)
       if row['licenseText'].startswith('PENDING'):
         myStatList['pending_license'].append(entry)


More information about the Libreoffice-commits mailing list