def _GetLockOwners(_, data):
  (_, _, owners, _) = data

  if owners:
    owners = utils.NiceSort(owners)

  return owners
Returns a sorted list of a lock's current owners.
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_GetLockOwners