def set_activation(self, value):
    value = value.lower()
    if (value == 'none'):
        self.activation = value
    else:
        warning('unknown activation style: %s', value)
def set_activation(self, value):
    value = value.lower()
    if (value == 'none'):
        self.activation = value
    else:
        warning('unknown activation style: %s', value)