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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
A config parser that can handle "namespaced" sections. Example:

[base]
name = base

[base:some-env]
name = some-env

src/d/p/dploi-fabric-HEAD/dploi_fabric/tests.py   dploi-fabric(Download)
import ConfigParser
import StringIO
import unittest
from dploi_fabric.utils import EnvConfigParser, Configuration, _AttributeDict, STATIC_COLLECTED
 
    def setUp(self):
        f = StringIO.StringIO(self.test_config)
        self.config = EnvConfigParser()
        self.config.readfp(f)
 

src/d/p/dploi-fabric-0.1.30/dploi_fabric/tests.py   dploi-fabric(Download)
import ConfigParser
import StringIO
import unittest
from dploi_fabric.utils import EnvConfigParser, Configuration, _AttributeDict, STATIC_COLLECTED
 
    def setUp(self):
        f = StringIO.StringIO(self.test_config)
        self.config = EnvConfigParser()
        self.config.readfp(f)