From 01b986e4f896ccd1aac46fe65f72ba1c82f01323 Mon Sep 17 00:00:00 2001 From: Lakshmi Vyasarajan Date: Wed, 19 Jan 2011 03:29:22 +0530 Subject: [PATCH] Added uses template check when checking for dependencies --- hyde/generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyde/generator.py b/hyde/generator.py index 31742da..09fc4ef 100644 --- a/hyde/generator.py +++ b/hyde/generator.py @@ -115,7 +115,7 @@ class Generator(object): resource.relative_deploy_path)) if not target.exists or target.older_than(resource.source_file): return True - if resource.source_file.is_binary: + if resource.source_file.is_binary or not resource.uses_template: return False deps = self.template.get_dependencies(resource.source_file.read_all()) if not deps or None in deps: