Fix initialization of warning in import_data if exception is raised for

issue1337
This commit is contained in:
Cédric Krier committed 2009-12-17 12:01:41 +01:00
1 parent cae0a76a3d
commit c24fbbaf80
1 file changed
+1
+1
View File
@@ -758,6 +758,7 @@ class ModelStorage(Model):
while len(datas):
res = {}
warning = ''
try:
(res, other, warning, translate) = \
process_liness(self, datas, [], fields_def)