Message40321
| Author |
skip.montanaro |
| Recipients |
| Date |
2002年06月16日.04:46:55 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Here's a patch to cgitb that allows you to enable plain
text output. It adds an extra variable to the cgitb.enable
function and corresponding underlying functions. To get
plain text invoke it as
import cgitb
cgitb.enable(format="text")
(actually, any value for format other than "html" will
enable plain text output). The default value is "html", so
existing usage of cgitb should be unaffected.
I realize this isn't quite what you suggested, but it
seemed to me worthwhile to keep such similar code
together.
I'm not entirely certain I haven't fouled up the html
formatting. It needs to be checked still. Also still to come
is a doc change.
Skip
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 15:13:41 | admin | link | issue569574 messages |
| 2007年08月23日 15:13:41 | admin | create |
|