Date: Fri Jun 12 09:26:54 2009
New Revision: 7947
Use the inspect module in the standard library instead of our own version. That version is more up to date and most of our improvements have been made there as well. Not sure whether r7103 is (still) needed, but in this case I prefer a better solution anyway.
--- Webware/trunk/WebUtils/cgitb.py (original)
+++ Webware/trunk/WebUtils/cgitb.py Fri Jun 12 09:26:54 2009
@@ -5,11 +5,7 @@
-import keyword, linecache, pydoc, os, sys, tokenize, types
-# We need to use a fixed version of inspect
-# so we won't use the one that comes with Python 2.1.
-from MiscUtils import inspect
+import inspect, keyword, linecache, pydoc, os, sys, tokenize, types
pyhtml = pydoc.html
escape = pyhtml.escape
Get latest updates about Open Source Projects, Conferences and News.