Browse Source

Added uses template check when checking for dependencies

main
Lakshmi Vyasarajan 14 years ago
parent
commit
01b986e4f8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hyde/generator.py

+ 1
- 1
hyde/generator.py View File

@@ -115,7 +115,7 @@ class Generator(object):
resource.relative_deploy_path)) resource.relative_deploy_path))
if not target.exists or target.older_than(resource.source_file): if not target.exists or target.older_than(resource.source_file):
return True return True
if resource.source_file.is_binary:
if resource.source_file.is_binary or not resource.uses_template:
return False return False
deps = self.template.get_dependencies(resource.source_file.read_all()) deps = self.template.get_dependencies(resource.source_file.read_all())
if not deps or None in deps: if not deps or None in deps:


Loading…
Cancel
Save