Hide legally-blocked tickets from NEEDSPONSOR.
This commit is contained in:
parent
98285a4b74
commit
f7ed75b8df
1 changed files with 1 additions and 0 deletions
|
@ -229,6 +229,7 @@ def select_merge(bug, bugd):
|
||||||
def select_needsponsor(bug, bugd):
|
def select_needsponsor(bug, bugd):
|
||||||
if (bugd['reviewflag'] == ' '
|
if (bugd['reviewflag'] == ' '
|
||||||
and NEEDSPONSOR in bugd['blockedby']
|
and NEEDSPONSOR in bugd['blockedby']
|
||||||
|
and LEGAL not in bugd['blockedby']
|
||||||
and bug.bug_status != 'CLOSED'
|
and bug.bug_status != 'CLOSED'
|
||||||
and nobody(bug.assigned_to) == '(Nobody)'
|
and nobody(bug.assigned_to) == '(Nobody)'
|
||||||
and string.lower(bug.status_whiteboard).find('buildfails') < 0
|
and string.lower(bug.status_whiteboard).find('buildfails') < 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue