Ticket #240 (reopened defect)
Genshi gets relative path wrong for <xi:includes
| Reported by: | j@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | major | Milestone: | 0.5.1 |
| Component: | Template processing | Version: | 0.5 |
| Keywords: | template loader | Cc: | oliver@…, ryan@… |
Description
in genshi/template/loader.py the relative_to is only used if its not an absolute path, this has to be os.path.isabs(filename) instead. this fixes problems related to xi:includes of templates with the same name in two direcotries, since right now just the filename is used as cachekey not the absolute path of the template.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

