コード例 #1
0
ファイル: __init__.py プロジェクト: mariannecx/anaconda
    def _showError(self, message):
        """Internal helper function that MUST BE CALLED FROM THE MAIN THREAD."""

        if flags.automatedInstall and not flags.ksprompt:
            log.error(message)
            # If we're in cmdline mode, just exit.
            return

        error_window = ErrorDialog(self._app, message)
        self._app.switch_screen_modal(error_window)
コード例 #2
0
    def _showError(self, message):
        """Internal helper function that MUST BE CALLED FROM THE MAIN THREAD"""

        error_window = ErrorDialog(self._app, message)
        self._app.switch_screen_modal(error_window)