Skip to content

Commit

Permalink
Add some info about the name at fault for tracebacks.
Browse files Browse the repository at this point in the history
  • Loading branch information
kenmanheimer committed Oct 20, 1999
1 parent 4de9fdd commit 9a15f0d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions DT_Util.py
Expand Up @@ -82,8 +82,8 @@
# attributions are listed in the accompanying credits file.
#
##############################################################################
'''$Id: DT_Util.py,v 1.59 1999/09/27 13:14:15 jim Exp $'''
__version__='$Revision: 1.59 $'[11:-2]
'''$Id: DT_Util.py,v 1.60 1999/10/20 21:56:43 klm Exp $'''
__version__='$Revision: 1.60 $'[11:-2]

import regex, string, math, os
from string import strip, join, atoi, lower, split, find
Expand Down Expand Up @@ -320,6 +320,7 @@ def eval(self, mapping):
code=self.code
globals=self.globals
for name in self.used:
__traceback_info__ = name
try: d[name]=mapping.getitem(name,0)
except KeyError:
if name=='_getattr':
Expand Down

0 comments on commit 9a15f0d

Please sign in to comment.