'Normalize values to bytes'

def normvalue(self, value):

    if (value is None):
        value = []
    elif isinstance(value, (six.text_type, bytes)):
        value = [value]
    elif (not hasattr(value, '__iter__')):
        value = [value]
    return [self._tobytes(x) for x in value]
