Edgewall Software

Changeset 526 for trunk/genshi/input.py


Ignore:
Timestamp:
Mar 22, 2007, 10:54:16 PM (17 years ago)
Author:
cmlenz
Message:
  • Better method to propogate the full path to the template file on parse errors. Supersedes r513.
  • More API docs and doctests.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/genshi/input.py

    r525 r526  
    2424import HTMLParser as html
    2525import htmlentitydefs
    26 import os
    2726from StringIO import StringIO
    2827
     
    6968        self.msg = message
    7069        if filename:
    71             message += ', in ' + os.path.basename(filename)
     70            message += ', in ' + filename
    7271        Exception.__init__(self, message)
    7372        self.filename = filename or '<string>'
Note: See TracChangeset for help on using the changeset viewer.