Ticket #240: genshi0.5_proper_relative_to.patch
| File genshi0.5_proper_relative_to.patch, 557 bytes (added by j, 15 years ago) |
|---|
-
genshi/template/loader.py
163 163 """ 164 164 if cls is None: 165 165 cls = self.default_class 166 if relative_to and not os.path.isabs( relative_to):166 if relative_to and not os.path.isabs(filename): 167 167 filename = os.path.join(os.path.dirname(relative_to), filename) 168 168 filename = os.path.normpath(filename) 169 169 cachekey = filename
