Commit 706530be authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

Flush early to get errors ASAP

parent 0441a4cbec7e
......@@ -145,6 +145,6 @@ def import_seda_schemes(cnx, lcsv_import=lcsv_import):
for etype in etypes:
etype_e = cnx.find('CWEType', name=etype).one()
scheme.cw_set(scheme_entity_type=etype_e)
store.flush()
store.flush()
store.commit()
store.finish()
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