Bug 1404033 - Do not change disable-recommended to needswork:owner; r=jmaher
--- a/woo_commenter.py
+++ b/woo_commenter.py
@@ -255,17 +255,17 @@ def main():
# owner-triage updates to priority and whiteboard
if (counts['total'] >= PRIORITY2_THRESHOLD) or (not options.weekly_mode):
if not bug_info:
bug_info = get_triage_info_for_bug(bmo_session, bug_id)
whiteboard = bug_info['whiteboard']
if (((bug_info['product'], bug_info['component']) in components) and
('intermittent-failure' in bug_info['keywords']) and
('[stockwell fixed' not in whiteboard) and
- ('[stockwell disabled' not in whiteboard) and
+ ('[stockwell disable' not in whiteboard) and
('[stockwell infra' not in whiteboard)):
# do not update priority on bugs already awaiting triage or
# already P1/P2/P3 (hopefully recently triaged)
if bug_info['priority'] not in ['--', 'P1', 'P2', 'P3']:
params['priority'] = '--'
# remove any [stockwell xxx] from whiteboard, then add
# [stockwell needswork:owner], unless it is already there
whiteboard = bug_info['whiteboard']