def clean_content_type(value):
    if value in ';':
        left, right = value.rsplit(';', 1)
        if right.lstrip().startswith('swift_bytes='):
            return left
    return value
dataset/ETHPy150Open openstack/swift/swift/common/utils.py/clean_content_type/swapped operands of `in`