Merge "update_bug.py: Check project along with series"

This commit is contained in:
Zuul 2023-05-19 20:44:50 +00:00 committed by Gerrit Code Review
commit d9885155de
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,7 @@ def process_bugtask(launchpad, task, git_log, args):
# Look for a related task matching the series.
for reltask in bugtask.related_tasks:
if (reltask.bug_target_name.endswith(series) and
reltask.bug_target_name.startswith(args.project) and
reltask.status != u'Fix Released' and
task.needs_change('set_fix_committed')):
set_fix_committed(reltask)