Remove blueprint diversion to openstack-ci.
The blueprint script used openstack-ci instead of the actual project for any non-openstack/ project. This is counter-productive now that we have more than one org in gerrit.
This commit is contained in:
parent
bb1e652313
commit
7f2b55cbe0
@ -64,12 +64,7 @@ DB_DB = GERRIT_CONFIG.get("database", "database")
|
|||||||
|
|
||||||
|
|
||||||
def update_spec(launchpad, project, name, subject, link, topic=None):
|
def update_spec(launchpad, project, name, subject, link, topic=None):
|
||||||
# For testing, if a project doesn't match openstack/foo, use
|
|
||||||
# the openstack-ci project instead.
|
|
||||||
group, project = project.split('/')
|
group, project = project.split('/')
|
||||||
if group != 'openstack':
|
|
||||||
project = 'openstack-ci'
|
|
||||||
|
|
||||||
spec = launchpad.projects[project].getSpecification(name=name)
|
spec = launchpad.projects[project].getSpecification(name=name)
|
||||||
if not spec:
|
if not spec:
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user