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:
James E. Blair 2012-11-28 07:54:06 -08:00 committed by Monty Taylor
parent bb1e652313
commit 7f2b55cbe0

View File

@ -64,12 +64,7 @@ DB_DB = GERRIT_CONFIG.get("database", "database")
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('/')
if group != 'openstack':
project = 'openstack-ci'
spec = launchpad.projects[project].getSpecification(name=name)
if not spec:
return