Browse Source

Fixed a niggle in calculating dependencies

main
Lakshmi Vyasarajan 13 years ago
parent
commit
060befaab3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      hyde/generator.py

+ 2
- 2
hyde/generator.py View File

@@ -135,8 +135,8 @@ class Generator(object):
dep_res = self.site.content.resource_from_relative_path(dep)
if dep_res:
deps.extend(self.get_dependencies(dep_res))
deps.extend(self.template.get_dependencies(rel_path))
if resource.uses_template:
deps.extend(self.template.get_dependencies(rel_path))
deps = list(set(deps))
if None in deps:
deps.remove(None)


Loading…
Cancel
Save