summaryrefslogtreecommitdiffstats
path: root/Lib/mhlib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-09-29 23:22:12 (GMT)
committerGuido van Rossum <guido@python.org>1997-09-29 23:22:12 (GMT)
commitf15d15964b6ac3e5ff71894707fbcff48bec45b2 (patch)
treee0fccf5a3756b03f3f0b2a265c65a175ffe61f09 /Lib/mhlib.py
parentc90ad2103eb9aca14b7a910cbcdcd7b570f690ab (diff)
downloadcpython-f15d15964b6ac3e5ff71894707fbcff48bec45b2.zip
cpython-f15d15964b6ac3e5ff71894707fbcff48bec45b2.tar.gz
cpython-f15d15964b6ac3e5ff71894707fbcff48bec45b2.tar.bz2
Use sys.exc_info() where needed.
Diffstat (limited to 'Lib/mhlib.py')
-rw-r--r--Lib/mhlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mhlib.py b/Lib/mhlib.py
index 838b2f7..a78b2c7 100644
--- a/Lib/mhlib.py
+++ b/Lib/mhlib.py
@@ -379,7 +379,7 @@ class Folder:
if not seqs.has_key(head):
if not msg:
msg = "bad message list %s" % seq
- raise Error, msg, sys.exc_traceback
+ raise Error, msg, sys.exc_info()[2]
msgs = seqs[head]
if not msgs:
raise Error, "sequence %s empty" % head