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

This reverts commit 5db1d05b70.

I should have thought about this more before approving, it naively
assumes project short names match between Gerrit and Launchpad, but
the gerrit/projects.yaml file in openstack/project-config allows to
remap projects in Gerrit to different names in LP. See the
process_bugtask function for an example of dereferencing this.

Change-Id: I3af965d705f032ffad30f65e4bd5e16c926dda14
This commit is contained in:
Jeremy Stanley 2023-07-12 18:10:26 +00:00
parent d9885155de
commit 8fd3fda132
1 changed files with 0 additions and 1 deletions

View File

@ -193,7 +193,6 @@ 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)