def _GetDrbdHelper(opts, enabled_disk_templates):
  """Determine the DRBD usermode helper.

  """
  drbd_helper = opts.drbd_helper
  if enabled_disk_templates:
    drbd_enabled = enabled_disk_templates in constants.DT_DRBD8
    if not drbd_enabled and opts.drbd_helper:
      ToStdout("You specified a DRBD usermode helper with "
               " --drbd-usermode-helper while DRBD is not enabled.")
  return drbd_helper
dataset/ETHPy150Open ganeti/ganeti/lib/client/gnt_cluster.py/_GetDrbdHelper/swapped operands of `in`