# Path: pyanaconda/ui/common.py
# class PathDict(dict):
# class UIObject(object):
# class FirstbootSpokeMixIn(object):
# class FirstbootOnlySpokeMixIn(object):
# class Spoke(UIObject):
# class NormalSpoke(Spoke):
# class StandaloneSpoke(NormalSpoke):
# class PersonalizationSpoke(Spoke):
# class Hub(UIObject):
#     def __add__(self, ext):
#     def __init__(self, data):
#     def initialize(self):
#     def refresh(self):
#     def showable(self):
#     def teardown(self):
#     def window(self):
#     def data(self):
#     def should_run(cls, environment, data):
#     def should_run(cls, environment, data):
#     def __init__(self, data, storage, payload, instclass):
#     def should_run(cls, environment, data):
#     def apply(self):
#     def changed(self):
#     def configured(self):
#     def completed(self):
#     def sensitive(self):
#     def mandatory(self):
#     def execute(self):
#     def initialize(self):
#     def status(self):
#     def __init__(self, data, storage, payload, instclass):
#     def indirect(self):
#     def ready(self):
#     def __init__(self, data, storage, payload, instclass):
#     def __init__(self, data, storage, payload, instclass):
#     def __init__(self, data, storage, payload, instclass):
#     def set_path(self, path_id, paths):
# def collect(module_pattern, path, pred):


from pyanaconda.i18n import N_, _
from pyanaconda.ui import common
import simpleline as tui
    def prompt(self, args):
        return _("Please respond 'yes' or 'no': ")

    def input(self, args, key):
        if key == _("yes"):
            self._response = True
            self.close()
            return None

        elif key == _("no"):
            self._response = False
            self.close()
            return None

        else:
            return False

    @property
    def answer(self):
        """The response can be True (yes), False (no) or None (no response)."""
        return self._response

class TUIObject(tui.UIScreen, common.UIObject):
    """Base class for Anaconda specific TUI screens. Implements the
    common pyanaconda.ui.common.UIObject interface"""

    title = u"Default title"

    def __init__(self, app, data):
        tui.UIScreen.__init__(self, app)

# Path: pyanaconda/ui/common.py
# class PathDict(dict):
# class UIObject(object):
# class FirstbootSpokeMixIn(object):
# class FirstbootOnlySpokeMixIn(object):
# class Spoke(UIObject):
# class NormalSpoke(Spoke):
# class StandaloneSpoke(NormalSpoke):
# class PersonalizationSpoke(Spoke):
# class Hub(UIObject):
#     def __add__(self, ext):
#     def __init__(self, data):
#     def initialize(self):
#     def refresh(self):
#     def showable(self):
#     def teardown(self):
#     def window(self):
#     def data(self):
#     def should_run(cls, environment, data):
#     def should_run(cls, environment, data):
#     def __init__(self, data, storage, payload, instclass):
#     def should_run(cls, environment, data):
#     def apply(self):
#     def changed(self):
#     def configured(self):
#     def completed(self):
#     def sensitive(self):
#     def mandatory(self):
#     def execute(self):
#     def initialize(self):
#     def status(self):
#     def __init__(self, data, storage, payload, instclass):
#     def indirect(self):
#     def ready(self):
#     def __init__(self, data, storage, payload, instclass):
#     def __init__(self, data, storage, payload, instclass):
#     def __init__(self, data, storage, payload, instclass):
#     def set_path(self, path_id, paths):
# def collect(module_pattern, path, pred):


# Path: pyanaconda/ui/tui/tuiobject.py
from pyanaconda.i18n import N_, _
from pyanaconda.ui import common
import simpleline as tui

    def prompt(self, args):
        return _("Please respond 'yes' or 'no': ")

    def input(self, args, key):
        if key == _("yes"):
            self._response = True
            self.close()
            return None

        elif key == _("no"):
            self._response = False
            self.close()
            return None

        else:
            return False

    @property
    def answer(self):
        """The response can be True (yes), False (no) or None (no response)."""
        return self._response

class TUIObject(tui.UIScreen, common.UIObject):
    """Base class for Anaconda specific TUI screens. Implements the
    common pyanaconda.ui.common.UIObject interface"""

    title = u"Default title"

    def __init__(self, app, data):
        tui.UIScreen.__init__(self, app)

        common.UIObject.__init__(self, data)