Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Indicate whether the named section is present in the configuration.

The DEFAULT section is not acknowledged.

src/d/p/dpm-0.10/dpm/tests/base.py   dpm(Download)
        # os.makedirs(self.upload_dir)
        section = 'upload:mypairtree'
        if not dpm.CONFIG.has_section(section):
            dpm.CONFIG.add_section(section)
        dpm.CONFIG.set(section, 'ofs.backend', 'pairtree')

src/d/p/dpm-old-HEAD/dpm/tests/base.py   dpm-old(Download)
        # os.makedirs(self.upload_dir)
        section = 'upload:mypairtree'
        if not dpm.CONFIG.has_section(section):
            dpm.CONFIG.add_section(section)
        dpm.CONFIG.set(section, 'ofs.backend', 'pairtree')