changeset 697:3d3c322ca978 trunk

Fix for #205.
author cmlenz
date Thu, 27 Mar 2008 14:12:13 +0000
parents 66eead58c120
children 408ab81767c7
files genshi/template/loader.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/genshi/template/loader.py
+++ b/genshi/template/loader.py
@@ -193,7 +193,7 @@
                 # template is on the search path
                 dirname = os.path.dirname(relative_to)
                 if dirname not in search_path:
-                    search_path = search_path + [dirname]
+                    search_path = list(search_path) + [dirname]
                 isabs = True
 
             elif not search_path:
Copyright (C) 2012-2017 Edgewall Software