Commit 82c80ad6 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[databases] Remove use of Prefix

parent 2f117b56
......@@ -146,7 +146,7 @@ def load_database_sets(configuration, database_name):
# Load the dataformat
dataformat_cache = {}
database = Database(utils.Prefix(configuration.path),
database = Database(configuration.path,
db_name, dataformat_cache)
if not database.valid:
logger.error("Failed to load the database `%s':", db_name)
......@@ -237,7 +237,7 @@ def start_db_container(configuration, cmd, host,
if not os.path.exists(tmp_prefix):
os.makedirs(tmp_prefix)
database.export(utils.Prefix(tmp_prefix))
database.export(tmp_prefix)
if db_root is None:
json_path = os.path.join(tmp_prefix, 'databases', db_name + '.json')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment