コード例 #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
ファイル: worlds.py プロジェクト: jensfriisnielsen/emsm
    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
ファイル: guard.py プロジェクト: benediktschmitt/emsm
    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