Skip to content
Permalink
Browse files

Don't repeat post deps

  • Loading branch information
Roberto Alsina committed Jul 5, 2018
1 parent 161036e commit 49d0c5496a29b9cf4f32c9b21be43c53e6d3ddbf
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/post.py
@@ -623,7 +623,7 @@ def deps(self, lang):
deps.append(self.meta('data', lang))
deps += self._get_dependencies(self._dependency_file_page[lang])
deps += self._get_dependencies(self._dependency_file_page[None])
return sorted(deps)
return sorted(set(deps))

def deps_uptodate(self, lang):
"""Return a list of uptodate dependencies to build this post's page.

0 comments on commit 49d0c54

Please sign in to comment.