diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-12-21 14:01:05 +0100 |
---|---|---|
committer | Xisco Fauli <anistenis@gmail.com> | 2016-12-21 14:01:05 +0100 |
commit | 6e4cc56a1eb0ed2d78008f8f4b2705faf5a20bee (patch) | |
tree | 058afdcc5b0308bebeb897cb86ec0cc83b28ace1 | |
parent | 392933ddca95e5abba1e09954ebbd8d906451cd0 (diff) |
check that keywords are still present in the bug
-rwxr-xr-x | esc-reporting/esc-analyze.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py index 3aa3930..2e10e19 100755 --- a/esc-reporting/esc-analyze.py +++ b/esc-reporting/esc-analyze.py @@ -447,16 +447,16 @@ def analyze_qa(): if entry['field_name'] == 'keywords': keywordsAdded = entry['added'].split(", ") for keyword in keywordsAdded: - if keyword == 'bisected': + if keyword == 'bisected' and 'bisected' in row['keywords']: util_build_period_stat(xDate, email, 'qa', 'bisected') - if keyword == 'bibisected': + if keyword == 'bibisected' and 'bibisected' in row['keywords']: util_build_period_stat(xDate, email, 'qa', 'bibisected') - if keyword == 'regression': + if keyword == 'regression' and 'regression' in row['keywords']: util_build_period_stat(xDate, email, 'qa', 'regression') - if keyword == 'haveBacktrace': + if keyword == 'haveBacktrace' and 'haveBacktrace' in row['keywords']: util_build_period_stat(xDate, email, 'qa', 'backtrace') elif entry['field_name'] == 'resolution': - if entry['added'] == 'FIXED': + if entry['added'] == 'FIXED' and row['resolution'] == 'FIXED': util_build_period_stat(xDate, email, 'qa', 'fixed') def analyze_myfunc(): |