Commit 6348f4ce authored by Samuel GAIST's avatar Samuel GAIST

[databases] Write db_configuration as text

The content of the structure is text in any case,
no reason to write it as binary.
parent bc400e7d
......@@ -168,7 +168,7 @@ def start_db_container(configuration, cmd, host,
db_tempdir = utils.temporary_directory()
with open(os.path.join(db_tempdir, 'configuration.json'), 'wb') as f:
with open(os.path.join(db_tempdir, 'configuration.json'), 'wt') as f:
simplejson.dump(db_configuration, f, indent=4)
tmp_prefix = os.path.join(db_tempdir, 'prefix')
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment