diff options
author | jan Iversen <jani@documentfoundation.org> | 2017-01-25 08:07:00 +0100 |
---|---|---|
committer | jan Iversen <jani@documentfoundation.org> | 2017-01-25 08:07:00 +0100 |
commit | 27e31cd6b85bd5bb6b48eb7772c348ac00fe6e90 (patch) | |
tree | 7c34f5700e152db9b18b4d84669b0af238f84666 | |
parent | 1965fe9f9cdd599a341b3e7c9bd498c058c06953 (diff) |
esc-mentoring, back to 1month survey for new patches.
-rwxr-xr-x | esc-reporting/esc-report.py | 6 |
1 files changed, 3 insertions, 3 deletions
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) |