def label_func(s, label=label):
                self.set_label(s, label)
def deserialize(self, value):
        value = decode(value)
        validators.validate_choice(value.lower(), log.COLORS)
        return value.lower()