Fix error handling when merging people
svn: r15675
This commit is contained in:
parent
12e174b7f3
commit
2bece278c0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user