summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2006-07-26 18:03:12 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2006-07-26 18:03:12 (GMT)
commit44c668d15ef588d2ba020f386639231a26314775 (patch)
tree928ed40374ca85bf6c7514be196992390e7571dc /Tools
parent10c2b55057946b214d18a383c923a111a9409efa (diff)
downloadcpython-44c668d15ef588d2ba020f386639231a26314775.zip
cpython-44c668d15ef588d2ba020f386639231a26314775.tar.gz
cpython-44c668d15ef588d2ba020f386639231a26314775.tar.bz2
Use sys.exc_info()
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/faqwiz/faqw.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/faqwiz/faqw.py b/Tools/faqwiz/faqw.py
index 36c52e9..a26e0d6 100755
--- a/Tools/faqwiz/faqw.py
+++ b/Tools/faqwiz/faqw.py
@@ -27,7 +27,7 @@ try:
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)