Mercurial > p > roundup > code
comparison roundup/cgitb.py @ 406:bdc2ea127ae9
Added module docstrings to all modules.
| author | Jürgen Hermann <jhermann@users.sourceforge.net> |
|---|---|
| date | Thu, 22 Nov 2001 15:46:42 +0000 |
| parents | 76c6994aa4e8 |
| children | fad315a10185 c242455d9b46 |
comparison
equal
deleted
inserted
replaced
| 405:f0b234ce301f | 406:bdc2ea127ae9 |
|---|---|
| 1 # | 1 # |
| 2 # This module was written by Ka-Ping Yee, <ping@lfw.org>. | 2 # This module was written by Ka-Ping Yee, <ping@lfw.org>. |
| 3 # | 3 # |
| 4 # $Id: cgitb.py,v 1.6 2001-09-29 13:27:00 richard Exp $ | 4 # $Id: cgitb.py,v 1.7 2001-11-22 15:46:42 jhermann Exp $ |
| 5 | |
| 6 __doc__ = """ | |
| 7 Extended CGI traceback handler by Ka-Ping Yee, <ping@lfw.org>. | |
| 8 """ | |
| 5 | 9 |
| 6 import sys, os, types, string, keyword, linecache, tokenize, inspect, pydoc | 10 import sys, os, types, string, keyword, linecache, tokenize, inspect, pydoc |
| 7 | 11 |
| 8 def breaker(): | 12 def breaker(): |
| 9 return ('<body bgcolor="#f0f0ff">' + | 13 return ('<body bgcolor="#f0f0ff">' + |
| 116 print breaker() | 120 print breaker() |
| 117 print html() | 121 print html() |
| 118 | 122 |
| 119 # | 123 # |
| 120 # $Log: not supported by cvs2svn $ | 124 # $Log: not supported by cvs2svn $ |
| 125 # Revision 1.6 2001/09/29 13:27:00 richard | |
| 126 # CGI interfaces now spit up a top-level index of all the instances they can | |
| 127 # serve. | |
| 128 # | |
| 121 # Revision 1.5 2001/08/07 00:24:42 richard | 129 # Revision 1.5 2001/08/07 00:24:42 richard |
| 122 # stupid typo | 130 # stupid typo |
| 123 # | 131 # |
| 124 # Revision 1.4 2001/08/07 00:15:51 richard | 132 # Revision 1.4 2001/08/07 00:15:51 richard |
| 125 # Added the copyright/license notice to (nearly) all files at request of | 133 # Added the copyright/license notice to (nearly) all files at request of |
