From 96f7fb06ffb9638a795749fc54a8379b2ebdd0b0 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 20 Jun 2007 19:06:23 +0000 Subject: [PATCH] 2007-06-20 Alex Roitman * src/DbLoader.py (DbLoader.read_file): Properly report problem. svn: r8611 --- ChangeLog | 3 +++ src/DbLoader.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 64ec3d21a..a12017d7b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-06-20 Alex Roitman + * src/DbLoader.py (DbLoader.read_file): Properly report problem. + 2007-06-19 Alex Roitman * src/FilterEditor/_FilterEditor.py (_find_dependent_filters): Add method to first find all filters fo deletion. diff --git a/src/DbLoader.py b/src/DbLoader.py index 62aba7936..d0020a95b 100644 --- a/src/DbLoader.py +++ b/src/DbLoader.py @@ -462,7 +462,7 @@ class DbLoader: str(msg[1])) except Exception, msg: QuestionDialog.ErrorDialog( - _("Could not open file: %s") % filename, msg ) + _("Could not open file: %s") % filename, msg[0] ) return True def open_saved_as(self, filename, filetype):