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

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Helper function: Makes sure that the shared [Host] section is correct;
raise ConfigError if it isn't

        def _validateHostSection(sec):
    """Helper function: Makes sure that the shared [Host] section is correct;
       raise ConfigError if it isn't"""
        


src/m/i/mixminion-HEAD/lib/mixminion/server/ServerConfig.py   mixminion(Download)
 
        # Now, validate the host section.
        mixminion.Config._validateHostSection(self['Host'])
        # Server section
        server = self['Server']