Commit 79228f93 authored by Denis Laxalde's avatar Denis Laxalde
Browse files

Use MetadataGenerator instead of deprecated MetaGenerator

Related to #17133718.
parent 0256cb3dc9a1
......@@ -215,7 +215,7 @@ def import_skos_extentities(cnx, entities, import_log,
# metagenerator to properly set the source for created entities
if store is None:
if metagenerator is None:
metagenerator = dataimport.MetaGenerator(cnx, source=source)
metagenerator = dataimport.MetadataGenerator(cnx, source=source)
store = dataimport.NoHookRQLObjectStore(cnx, metagenerator)
else:
assert metagenerator is None, 'you should not give both a store and a metadata generator'
......
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