Removed ErrorDialog

svn: r19578
This commit is contained in:
Doug Blank 2012-05-18 12:23:43 +00:00
parent f641712353
commit 93a57457da

View File

@ -244,7 +244,7 @@ class CSVParser(object):
try:
data = [[r.strip() for r in row] for row in reader]
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 } )
return None
return data