diff options
author | Thais Siqueira <thais.siqueira@gmail.com> | 2017-01-11 15:26:11 -0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-02-09 17:41:46 +0100 |
commit | 02764109fa1145474c24b73d537280e3a5652f78 (patch) | |
tree | f8d61e94bb4dfecf971a8f70180205dc288ccd68 /scripts/migration/0.9.0/migrate.py | |
parent | 47858d88ca4ca10ac363c71550b1bafe50f8f4ce (diff) |
[bug] Fix import for load_configuration on migration script
Diffstat (limited to 'scripts/migration/0.9.0/migrate.py')
-rwxr-xr-x | scripts/migration/0.9.0/migrate.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/migration/0.9.0/migrate.py b/scripts/migration/0.9.0/migrate.py index 9a29d8b5..7b2ec005 100755 --- a/scripts/migration/0.9.0/migrate.py +++ b/scripts/migration/0.9.0/migrate.py @@ -27,14 +27,14 @@ import os from argparse import ArgumentParser -from leap.soledad.server.config import load_configuration +from leap.soledad.server import get_config from migrate_couch_schema import migrate TARGET_VERSION = '0.8.2' DEFAULT_COUCH_URL = 'http://127.0.0.1:5984' -CONF = load_configuration('/etc/soledad/soledad-server.conf') +CONF = get_config() NETRC_PATH = CONF['soledad-server']['admin_netrc'] |