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. Change-Id: Id06fdd89751a62c6da400adefcc84791a030d1b8 Reviewed-on: https://review.openstack.org/16994 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
d58acb2f59
commit
b9509a038e
@ -59,12 +59,7 @@ DB_PASS = SECURE_CONFIG.get("database","password")
|
|||||||
DB_DB = GERRIT_CONFIG.get("database","database")
|
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: return
|
if not spec: return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user