Fix error handling when merging people

svn: r15675
This commit is contained in:
Nick Hall 2010-08-01 18:18:29 +00:00
parent 12e174b7f3
commit 2bece278c0

View File

@ -335,8 +335,8 @@ class MergePeople(ManagedWindow.ManagedWindow):
try:
query = MergePersonQuery(self.dbstate, phoenix, titanic)
query.execute()
except MergeError, errstr:
ErrorDialog( _("Cannot merge people"), errstr)
except MergeError, err:
ErrorDialog( _("Cannot merge people"), str(err))
self.uistate.viewmanager.active_page.selection.unselect_path(
unselect_path)
self.uistate.set_busy_cursor(False)