def _show_exception_dialog(self, description, error_info, title, exit_loop_on_ok=False):
    res = self.dialog(urwid.ListBox(urwid.SimpleListWalker([urwid.Text('\n\n'.join([description, error_info]))])), title=title, buttons_and_results=[('OK', exit_loop_on_ok), ('Save traceback', 'save')])
    if (res == 'save'):
        self._save_traceback(error_info)
def _show_exception_dialog(self, description, error_info, title, exit_loop_on_ok=False):
    res = self.dialog(urwid.ListBox(urwid.SimpleListWalker([urwid.Text('\n\n'.join([description, error_info]))])), title=title, buttons_and_results=[('OK', exit_loop_on_ok), ('Save traceback', 'save')])
    if (res == 'save'):
        self._save_traceback(error_info)