Browse Source

Merge branch 'master' of github.com:hyde/hyde

main
Lakshmi Vyasarajan 14 years ago
parent
commit
c657589b4d
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      hyde/ext/templates/jinja.py

+ 3
- 2
hyde/ext/templates/jinja.py View File

@@ -404,8 +404,9 @@ class Jinja2Template(Template):
tpls = find_referenced_templates(ast)
deps = []
for dep in tpls:
deps.append(dep)
deps.extend(self.get_dependencies(dep))
if dep:
deps.append(dep)
deps.extend(self.get_dependencies(dep))
return list(set(deps))

@property


Loading…
Cancel
Save