[Python-checkins] r50850 - python/trunk/Tools/faqwiz/faqw.py
andrew.kuchling
python-checkins at python.org
Wed Jul 26 20:03:13 CEST 2006
Author: andrew.kuchling
Date: Wed Jul 26 20:03:12 2006
New Revision: 50850
Modified:
python/trunk/Tools/faqwiz/faqw.py
Log:
Use sys.exc_info()
Modified: python/trunk/Tools/faqwiz/faqw.py
==============================================================================
--- python/trunk/Tools/faqwiz/faqw.py (original)
+++ python/trunk/Tools/faqwiz/faqw.py Wed Jul 26 20:03:12 2006
@@ -27,7 +27,7 @@
except SystemExit, n:
sys.exit(n)
except:
- t, v, tb = sys.exc_type, sys.exc_value, sys.exc_traceback
+ t, v, tb = sys.exc_info()
print
import cgi
cgi.print_exception(t, v, tb)
More information about the Python-checkins
mailing list