Hide legally-blocked tickets from NEEDSPONSOR.

This commit is contained in:
Jason Tibbitts 2012-07-03 16:46:21 -05:00
parent 98285a4b74
commit f7ed75b8df

View file

@ -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