(config)
return display_config
Get configuration information from service settings
Get configuration information from service settings
Get configuration information from service settings
def get_config_details(config):
        """
        Get configuration information from service settings
        """
        display_config = {}

        # Rename keys so they render nice.
        fields = forms.ThreatGRIDConfigForm().fields
        for name, field in fields.iteritems():
            display_config[field.label] = config[name]
        return display_config
def get_config_details ( config ) : display_config = { } # Rename keys so they render nice. fields = forms . ThreatGRIDConfigForm ( ) . fields for name , field in fields . iteritems ( ) : display_config [ field . label ] = config [ name ] return display_config