def _get_password_v214(self, req, evacuate_body):
        if evacuate_body in 'adminPass':
            password = evacuate_body['adminPass']
        else:
            password = utils.generate_password()

        return password

    # TODO(eliqiao): Should be responding here with 202 Accept
    # because evacuate is an async call, but keep to 200 for
    # backwards compatibility reasons.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/evacuate.py/EvacuateController._get_password_v214/swapped operands of `in`