Bug 1404033 - Do not change disable-recommended to needswork:owner; r=jmaher
authorGeoff Brown <gbrown@mozilla.com>
Thu, 28 Sep 2017 12:53:06 -0600
changeset 344 27840d346dfac131af23020468337f6d3f575736
parent 343 1e42f8946368b488d387d66621eaa7f7f34fbf9a
child 345 00d4c5e1ead7b5284957b26af8230db5e84c81be
push id292
push usergbrown@mozilla.com
push dateThu, 28 Sep 2017 18:53:35 +0000
reviewersjmaher
bugs1404033
Bug 1404033 - Do not change disable-recommended to needswork:owner; r=jmaher
woo_commenter.py
--- 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']