Fix initialization of warning in import_data if exception is raised for
issue1337
This commit is contained in:
1 parent
cae0a76a3d
commit
c24fbbaf80
1 file changed
+1
@@ -758,6 +758,7 @@ class ModelStorage(Model):
|
||||
|
||||
while len(datas):
|
||||
res = {}
|
||||
warning = ''
|
||||
try:
|
||||
(res, other, warning, translate) = \
|
||||
process_liness(self, datas, [], fields_def)
|
||||
|
||||
Reference in new issue
Block a user