]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Avoid printing exception in db-setup
authorZane Bitter <zbitter@redhat.com>
Tue, 17 Apr 2012 15:38:48 +0000 (17:38 +0200)
committerZane Bitter <zbitter@redhat.com>
Tue, 17 Apr 2012 15:38:48 +0000 (17:38 +0200)
commitd4fda0273580fc8575298614bc90569a73c1d5b3
treef5272996aac1949e5d58a9295dedcc61a665a810
parentf94547743e8b28203e34dd7c3534473ebb1babde
Avoid printing exception in db-setup

If the db-setup is run multiple times without dropping the database, the
attempt to set up version control again causes an exception. Since this is
an expected condition, just print a message and exit normally.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
bin/heat-db-setup-fedora
heat/db/sqlalchemy/manage.py