From 7ad1b8563fec8a697a5dd6713cf8cf13e867da6f Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Thu, 4 Mar 2010 13:39:22 +0000 Subject: [PATCH] Fixed another problem with string formatting using {}. svn: r14611 --- 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..1fb4d9df1 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: