esc-reporting/esc-analyze.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit d0bb7798e7865411682fcda4ce63a3092dfff62b Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Tue Apr 30 09:33:50 2019 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Tue Apr 30 09:33:50 2019 +0200 ESC: Add a different reviewer for online diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py index b59352b..927f513 100755 --- a/esc-reporting/esc-analyze.py +++ b/esc-reporting/esc-analyze.py @@ -720,7 +720,11 @@ def analyze_reports(): if cntReview == 0 and not statList['people'][ownerEmail]['isCommitter']: tmpListToReview.append({'id': entry['id'], 'fullid': entry['fullid'], 'patchset': patchset}) - defaultEmail = util_check_mail('', cfg['automate']['gerritReviewUserEmail']) + if gerritData['patch'][rowTmp['id']]['project'] == 'online': + defaultEmail = util_check_mail('', cfg['automate']['gerritReviewOnlineUserEmail']) + else: + defaultEmail = util_check_mail('', cfg['automate']['gerritReviewUserEmail']) + for rowTmp in tmpListToReview: reviewEmail = defaultEmail txt = gerritData['patch'][rowTmp['id']]['subject'] _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits