Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Load the configuration options from a filepath

@param filepath: The filepath to a configuration file.
@type filepath: C{twisted.python.filepath.FilePath}

        def loadConfigFromFile(filepath):
    """
    Load the configuration options from a filepath

    @param filepath: The filepath to a configuration file.
    @type filepath: C{twisted.python.filepath.FilePath}
    """
    return loadConfigFromString(filepath.getContent())
        


src/t/u/turtl-0.1.1/turtl/service.py   turtl(Download)
 
            from turtl import proxy, config
            urlmap, filter_rest, port = config.loadConfigFromFile(self.config)
            log.msg('Initializing turtl...')
            log.msg("Domains: %s" % (", ".join(urlmap.keys())))