From c8711ce6504f35f399d51f224974ff23987781d5 Mon Sep 17 00:00:00 2001 From: Zane Bitter Date: Mon, 29 Apr 2013 19:30:13 +0200 Subject: [PATCH] Fix DB sync script Broken by a60f6d45693c8a0d70f78a0fa9216a8c54c062e7, since we don't import the db api into heat.db any more. Change-Id: If5175ae84c9da0c8787a162a549b727381c6fbd6 --- heat/db/sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.45.2