Cope with changed flag return type

This commit is contained in:
Jason Tibbitts 2013-04-08 21:58:59 -05:00
parent 88140c93bd
commit f692897f41

View file

@ -195,7 +195,9 @@ def run_query(bz):
if bug.depends_on:
alldeps.update(bug.depends_on)
if bug.flags.find('needinfo?') >= 0:
for flag in bug.flags:
if (flag['name'] == 'needinfo'
and flag['status'] == '?'):
needinfo.add(bug.id)
# Get the status of each "interesting" bug