[PATCH 2 of 3] ui: add support for fully printing chained exception tracebacks

Bryan O'Sullivan bos at serpentine.com
Fri Feb 8 05:39:04 CST 2013


On Wed, Feb 6, 2013 at 9:42 PM, Matt Harbison <matt_harbison at yahoo.com>wrote:

> +            cause=getattr(exc[1], 'cause', None)
> +
> +            if cause is not None:
> +                tbc=traceback.format_tb(cause[2])
> +                tbe=traceback.format_tb(exc[2])
> +                feo=traceback.format_exception_only(cause[0], cause[1])
>

Please fix up the spacing in these lines.

Also, "tbc", "tbe", and "feo" are excessively cryptic variable names. Could
you please find something a bit more descriptive.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130208/f692b8be/attachment.html>


More information about the Mercurial-devel mailing list