Genshi absolute path includes
1 July 2008
09:20
as Diff
| 1 | Index: genshi/template/loader.py |
|---|---|
| 2 | =================================================================== |
| 3 | --- genshi/template/loader.py (revision 893) |
| 4 | +++ genshi/template/loader.py (working copy) |
| 5 | @@ -194,7 +194,7 @@ |
| 6 | # template is on the search path |
| 7 | dirname = os.path.dirname(relative_to) |
| 8 | if dirname not in search_path: |
| 9 | - search_path = list(search_path) + [dirname] |
| 10 | + search_path = [dirname] + list(search_path) |
| 11 | isabs = True |
| 12 | |
| 13 | elif not search_path: |
Comments
No comments so far.
