Removed ErrorDialog
svn: r19578
This commit is contained in:
parent
f641712353
commit
93a57457da
@ -244,7 +244,7 @@ class CSVParser(object):
|
|||||||
try:
|
try:
|
||||||
data = [[r.strip() for r in row] for row in reader]
|
data = [[r.strip() for r in row] for row in reader]
|
||||||
except csv.Error, err:
|
except csv.Error, err:
|
||||||
ErrorDialog(_('format error: line %(line)d: %(zero)s') % {
|
self.user.notify_error(_('format error: line %(line)d: %(zero)s') % {
|
||||||
'line' : reader.reader.line_num, 'zero' : err } )
|
'line' : reader.reader.line_num, 'zero' : err } )
|
||||||
return None
|
return None
|
||||||
return data
|
return data
|
||||||
|
Loading…
Reference in New Issue
Block a user