Skip to content
Permalink
Browse files

Fixing dependency generation for jinja templating engine.

  • Loading branch information
felixfontein committed Sep 19, 2016
1 parent 91c5c08 commit 9e149e2abc419d9d595e5731048e398cffe3d0b1
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/template/jinja.py
@@ -112,7 +112,7 @@ def get_string_deps(self, text):
filename = self.lookup.loader.get_source(self.lookup, dep_name)[1]
deps.add(filename)
sub_deps = self.get_deps(filename)
self.dependency_cache[dep_name] = sub_deps
self.dependency_cache[dep_name] = [filename] + sub_deps
deps |= set(sub_deps)
return list(deps)

0 comments on commit 9e149e2

Please sign in to comment.
You can’t perform that action at this time.