def __call__(self, data):
    (status, value) = data

    # Report status
    self._status_fn(status)

    if status == constants.RS_NORMAL:
      return self._fn(value)

    assert value is None, \
           "Found value %r for abnormal status %s" % (value, status)

    return FormatResultError(status, self._verbose)
Shorthand for 'print_exception(sys.exc_type, sys.exc_value, sys.exc_traceback, limit, file)'.
dataset/ETHPy150Open ganeti/ganeti/lib/cli.py/_QueryColumnFormatter.__call__--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/traceback.py/print_exc