Commit b3ff0c8d authored by Denis Laxalde's avatar Denis Laxalde
Browse files

Drop compat for cubicweb < 3.22 in import_skos_extentities()

Related to #17133718.
parent d5c863702627
......@@ -222,8 +222,7 @@ def import_skos_extentities(cnx, entities, import_log,
res = store_skos_extentities(cnx, store, entities, import_log, source, **kwargs)
store.flush()
store.commit()
if hasattr(store, 'finish'): # XXX not all store have this before cw 3.22
store.finish()
store.finish()
return res
......
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