Fixed another problem with string formatting using {}.
svn: r14611
This commit is contained in:
parent
7e0cfce9f7
commit
7ad1b8563f
@ -330,8 +330,8 @@ class CSVParser(object):
|
||||
try:
|
||||
data = [[r.strip() for r in row] for row in reader]
|
||||
except csv.Error, e:
|
||||
ErrorDialog(_('format error: file %(fname)s, line %(line)d: %(zero)s')) % {
|
||||
'fname' : self.filename, 'line' : reader.line_num, 'zero' : e }
|
||||
ErrorDialog(_('format error: file %(fname)s, line %(line)d: %(zero)s') % {
|
||||
'fname' : self.filename, 'line' : reader.line_num, 'zero' : e } )
|
||||
try:
|
||||
fp.close()
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user