2008-01-02 Benny Malengier <benny.malengier@gramps-project.org>

* src/DbLoader.py: correct bug state -> dbstate



svn: r9681
This commit is contained in:
Benny Malengier 2008-01-02 11:11:27 +00:00
parent f81b0d2aef
commit 1c87642339
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2008-01-02 Benny Malengier <benny.malengier@gramps-project.org>
* src/DbLoader.py: correct bug state -> dbstate
2008-01-02 Stéphane Charette <stephanecharette@gmail.com>
* src/BaseDoc.py: definition of add_comment()
* src/ReportBase/_GraphvizReportDialog.py: implement add_comment()

View File

@ -271,7 +271,7 @@ class DbLoader:
_("Could not open file: %s") % filename, str(msg))
except Errors.DbError, msg:
QuestionDialog.DBErrorDialog(str(msg.value))
self.state.no_database()
self.dbstate.no_database()
except Exception:
_LOG.error("Failed to open database.", exc_info=True)
return True