Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

        def parseConfig(itemsDir):
    config = ConfigParser.SafeConfigParser({
            'tagFileName': '.tag',
            'enableValueFilters': 'False',
            'enableRootItemLinks': 'False',

    parsedFiles = config.read([os.path.join(itemsDir, '.tagfs', 'tagfs.conf'),
                               os.path.expanduser(os.path.join('~', '.tagfs', 'tagfs.conf')),
                               os.path.join('/', 'etc', 'tagfs', 'tagfs.conf')])

    logging.debug('Parsed the following config files: %s' % ', '.join(parsedFiles))

    return Config(config)

src/t/a/tagfs-HEAD/src/modules/tagfs/main.py   tagfs(Download)
from cache import cache
from item_access import ItemAccess
from config import parseConfig
from log import logException
    def config(self):
        opts, args = self.cmdline
        c = parseConfig(os.path.normpath(os.path.join(self._initwd, opts.itemsDir)))