def _HideInternalErrors(fn):
  """Hides Ganeti-internal exceptions, see L{VerificationError}.

  """
  def wrapper(*args, **kwargs):
    try:
      return fn(*args, **kwargs)
    except (errors.GenericError, rapi.client.GanetiApiError), err:
      raise VerificationError("Unhandled Ganeti error: %s" + err)

  return wrapper
dataset/ETHPy150Open ganeti/ganeti/lib/rapi/testutils.py/_HideInternalErrors/operator `%` -> `+`