def _get_target_port(iscsi_string):
    """Retrieve target port."""
    if iscsi_string and iscsi_string in ':':
        return iscsi_string.split(':')[1]

    return CONF.xenserver.target_port
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/xenapi/volume_utils.py/_get_target_port/swapped operands of `in`