Fixed wrong affiliation for autodetected users
Also: * Refactored record processor tests * Fixed logic of user profile update * Introduced --force-update option to read default data forcibly Resolves bug 1215128 Change-Id: I701ec0c5583885daa5480b18cce8f31b82f6a6b4
This commit is contained in:
@@ -122,6 +122,8 @@ def update_repos(runtime_storage_inst):
|
||||
for repo in repos:
|
||||
process_repo(repo, runtime_storage_inst, record_processor_inst)
|
||||
|
||||
record_processor_inst.finalize()
|
||||
|
||||
|
||||
def apply_corrections(uri, runtime_storage_inst):
|
||||
LOG.info('Applying corrections from uri %s', uri)
|
||||
@@ -158,7 +160,8 @@ def main():
|
||||
return not 0
|
||||
default_data_processor.process(runtime_storage_inst,
|
||||
default_data,
|
||||
cfg.CONF.sources_root)
|
||||
cfg.CONF.sources_root,
|
||||
cfg.CONF.force_update)
|
||||
|
||||
update_pids(runtime_storage_inst)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user