From c134937e9d39e6a989b1884b48fcd1791d413f1e Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Thu, 4 Mar 2010 13:38:30 +0000 Subject: [PATCH] Fixed another error in string formatting using {}. svn: r14610 --- src/plugins/import/ImportCsv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/import/ImportCsv.py b/src/plugins/import/ImportCsv.py index b91893a6a..65e57ee71 100644 --- a/src/plugins/import/ImportCsv.py +++ b/src/plugins/import/ImportCsv.py @@ -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: