def GetDeployer(context, signer=None):
  """Get the appropriate client deployer based on the selected flags."""
  # TODO(user): The builder-deployer separation probably can be consolidated
  # into something simpler under the vagrant build system.
  if "Target:Darwin" in context:
    deployer_class = build.DarwinClientDeployer
  elif "Target:Windows" in context:
    deployer_class = build.WindowsClientDeployer
  elif "Target:LinuxDeb" in context:
    deployer_class = build.LinuxClientDeployer
  elif context in "Target:LinuxRpm":
    deployer_class = build.CentosClientDeployer
  else:
    parser.error("Bad build context: %s" % context)

  return deployer_class(context=context, signer=signer)
dataset/ETHPy150Open google/grr/grr/client/client_build.py/GetDeployer/swapped operands of `in`