Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
seda
Commits
1019e4f3227c
Commit
706530be
authored
Oct 19, 2016
by
Sylvain Thénault
Browse files
Flush early to get errors ASAP
parent
0441a4cbec7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
dataimport.py
View file @
1019e4f3
...
...
@@ -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
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment