def __str__(self):
        return "Pipeline execution failed: %d error%s:\n%s" % (
                len(self._errors),
                's' if len(self._errors) >= 2 else '',
                '\n'.join('%d: %s' % p for p in self._errors.iteritems()))
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/api.py/ExecutionErrors.__str__/original