Ticket #240 (reopened defect)
Genshi gets relative path wrong for <xi:includes
|Reported by:||j@…||Owned by:||cmlenz|
|Keywords:||template loader||Cc:||oliver@…, ryan@…|
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.