예제 #1
0
    def __init__(self, app, name):
        """
        """
        BasePlugin.__init__(self, app, name)

        self._setup_argparser()
        return None
예제 #2
0
파일: plugins.py 프로젝트: kayila/emsm
    def __init__(self, app, name):
        """
        """
        BasePlugin.__init__(self, app, name)

        self._setup_argparser()
        return None
예제 #3
0
파일: server.py 프로젝트: kayila/emsm
    def __init__(self, application, name):
        """
        """
        BasePlugin.__init__(self, application, name)

        self._setup_conf()
        self._setup_argparser()
        return None
예제 #4
0
    def __init__(self, application, name):
        """
        """
        BasePlugin.__init__(self, application, name)

        self.setup_conf()
        self.setup_argparser()
        return None
예제 #5
0
    def __init__(self, app, name):
        """
        """
        BasePlugin.__init__(self, app, name)
        self._setup_argparser()

        # We save information about the world health status and occured errors
        # in the guard database. Read more below.
        self._guard_db = None
        self._load_guard_db()
        return None
예제 #6
0
    def __init__(self, app, name):
        """
        """
        BasePlugin.__init__(self, app, name)
        self._setup_argparser()

        # We save information about the world health status and occured errors
        # in the guard database. Read more below.
        self._guard_db = None
        self._load_guard_db()
        return None
예제 #7
0
    def __init__(self, application, name):
        """
        """
        # We need to init the BasePlugin. This is necessairy, so that we can
        # safely access:
        #
        #   * self.conf()
        #   * self.argparser()
        #   * ...
        BasePlugin.__init__(self, application, name)

        # The configuration and argument parser are set up in own methods
        # for readability.
        self._setup_conf()
        self._setup_argparser()
        return None
예제 #8
0
파일: hellodolly.py 프로젝트: kayila/emsm
    def __init__(self, application, name):
        """
        """
        # We need to init the BasePlugin. This is necessairy, so that we can
        # safely access:
        #
        #   * self.conf()
        #   * self.argparser()
        #   * ...
        BasePlugin.__init__(self, application, name)

        # The configuration and argument parser are set up in own methods
        # for readability.
        self._setup_conf()
        self._setup_argparser()
        return None