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:
parent
d9885155de
commit
8fd3fda132
@ -193,7 +193,6 @@ def process_bugtask(launchpad, task, git_log, args):
|
|||||||
# Look for a related task matching the series.
|
# Look for a related task matching the series.
|
||||||
for reltask in bugtask.related_tasks:
|
for reltask in bugtask.related_tasks:
|
||||||
if (reltask.bug_target_name.endswith(series) and
|
if (reltask.bug_target_name.endswith(series) and
|
||||||
reltask.bug_target_name.startswith(args.project) and
|
|
||||||
reltask.status != u'Fix Released' and
|
reltask.status != u'Fix Released' and
|
||||||
task.needs_change('set_fix_committed')):
|
task.needs_change('set_fix_committed')):
|
||||||
set_fix_committed(reltask)
|
set_fix_committed(reltask)
|
||||||
|
Loading…
Reference in New Issue
Block a user