This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author aliles
Recipients aliles, ncoghlan
Date 2012-08-21.04:36:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345523795.76.0.397222969623.issue15749@psf.upfronthosting.co.za>
In-reply-to
Content
If cgitb has been enabled to format as text but suppress the display, the output is formated as html. (Prefixed with <p>)

 >>> gitb.enable(display=0, format='txt')
 >>> raise ValueError('Oops!')
 <p>A problem occurred in a Python script.

The patch changes the prefix used when display is suppressed based on whether output is formatted as html or text. Includes unit tests and documentation updates.
History
Date User Action Args
2012-08-21 04:36:35alilessetrecipients: + aliles, ncoghlan
2012-08-21 04:36:35alilessetmessageid: <1345523795.76.0.397222969623.issue15749@psf.upfronthosting.co.za>
2012-08-21 04:36:14alileslinkissue15749 messages
2012-08-21 04:36:13alilescreate