From: Zane Bitter Date: Mon, 29 Apr 2013 17:30:13 +0000 (+0200) Subject: Fix DB sync script X-Git-Tag: 2014.1~687 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=c8711ce6504f35f399d51f224974ff23987781d5;p=openstack-build%2Fheat-build.git Fix DB sync script Broken by a60f6d45693c8a0d70f78a0fa9216a8c54c062e7, since we don't import the db api into heat.db any more. Change-Id: If5175ae84c9da0c8787a162a549b727381c6fbd6 --- diff --git a/heat/db/sync.py b/heat/db/sync.py index 96981340..7d8a7a5b 100755 --- a/heat/db/sync.py +++ b/heat/db/sync.py @@ -22,7 +22,7 @@ gettext.install('heat', unicode=1) from oslo.config import cfg from heat.openstack.common import log as logging -import heat.db +from heat.db import api from heat.db import migration @@ -32,7 +32,7 @@ LOG = logging.getLogger(__name__) if __name__ == '__main__': cfg.CONF(project='heat', prog='heat-engine') - heat.db.configure() + api.configure() try: migration.db_sync()