Changeset 5346:29ee3ac7db27 in livinglogic.python.xist

Show
Ignore:
Timestamp:
02/12/13 13:56:27 (7 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Output the expression and the tag in Error.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/ul4c.py

    r5345 r5346  
    161161            else: 
    162162                return "in unnamed template" 
    163         elif isinstance(self.location, AST): 
    164             return "in expression {}".format(self.location) 
    165163        else: 
    166             return "in {}".format(self.location) 
     164            return "in {!r} in tag {}".format(str(self.location), self.location.location) 
    167165 
    168166