def get_frontend_by_name(name): if name not in frontends: raise ConfigurationException('Frontend %s is unknown' % name) return frontends.get(name)
def get_frontend_by_name(name): if name not in frontends: raise ConfigurationException('Frontend %s is unknown' % name) return frontends.get(name)