hobo_deploy: use the correct database name during convert-to-sql (#7207)

This commit is contained in:
Jérôme Schneider 2015-05-12 10:27:18 +02:00 committed by Frédéric Péters
parent 8bca53a0d7
commit 4cc5c26f4f
1 changed files with 2 additions and 1 deletions

View File

@ -249,7 +249,8 @@ class CmdCheckHobos(Command):
else:
cur.close()
pub.cfg['postgresql']['database'] = database_name
postgresql_cfg['database'] = database_name
pub.cfg['postgresql'] = postgresql_cfg
pub.write_cfg()
if not new_database: