Commit 1071c42f authored by marc duez's avatar marc duez
Browse files

Merge branch 'feature-s/fix_migrator_script' into 'dev'; add a minor modification to allow to use a more explicit config json file

See merge request !821
parents 58932022 36c82549
Pipeline #176185 passed with stages
in 11 minutes and 51 seconds
......@@ -102,7 +102,9 @@ class ConfigMapper(IdMapper):
with open(cfile, 'r') as cfg:
config_map = json.load(cfg, encoding='utf-8')
for key in config_map:
self.mapping[long(key)] = config_map[key]
if config_map[key]["link_local"]:
self.mapping[long(key)] = config_map[key]["link_local"]"mapping loaded")
self.log.debug("mapping: " + str(self.mapping.keys()))
Supports Markdown
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