Example #1
0
    def __init__(self):
        """Initialize the Tic environment.
        """
        ComponentManager.__init__(self)

        self.systeminfo = []

        self._href = self._abs_href = None

        load_components(self)

        self._init_settings()
Example #2
0
    def __init__(self, options=[]):
        """Initialize the Trac environment.

        @param path:   the absolute path to the Trac environment
        @param create: if `True`, the environment is created and populated with
                       default data; otherwise, the environment is expected to
                       already exist.
        @param options: A list of `(section, name, value)` tuples that define
                        configuration options
        """
        ComponentManager.__init__(self)

        self.systeminfo = []

        self._href = self._abs_href = None


        from tic.loader import load_components
        load_components(self)