diff --git a/src/Merge/mergeperson.py b/src/Merge/mergeperson.py index 643c4f981..6d4a2b447 100644 --- a/src/Merge/mergeperson.py +++ b/src/Merge/mergeperson.py @@ -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)