From f7ed75b8dfdb09b1eef745d219ab181e49522d7d Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Tue, 3 Jul 2012 16:46:21 -0500 Subject: [PATCH] Hide legally-blocked tickets from NEEDSPONSOR. --- scripts/review-stats/review-stats.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/review-stats/review-stats.py b/scripts/review-stats/review-stats.py index 53cb1af..c1f158c 100755 --- a/scripts/review-stats/review-stats.py +++ b/scripts/review-stats/review-stats.py @@ -229,6 +229,7 @@ def select_merge(bug, bugd): def select_needsponsor(bug, bugd): if (bugd['reviewflag'] == ' ' and NEEDSPONSOR in bugd['blockedby'] + and LEGAL not in bugd['blockedby'] and bug.bug_status != 'CLOSED' and nobody(bug.assigned_to) == '(Nobody)' and string.lower(bug.status_whiteboard).find('buildfails') < 0