Skip to content
Permalink
Browse files
Aoid cyclic deps for post-list (Issue #1671)
  • Loading branch information
ralsina committed May 1, 2015
1 parent 0b93441 commit a52163fb8607539b83b685f16caeec72fd759e44
Showing 2 changed files with 2 additions and 0 deletions.
@@ -18,6 +18,7 @@ Features
Bugfixes
--------

* Avoid recursive dep when using post-list in a post (Issue #1671)
* Encode IDNs to Punycode in ``nikola init`` and in links;
show an error if the site URL is not Punycode (Issue #1644)
* Make ``images`` the default output directory for IMAGE_FOLDERS
@@ -104,6 +104,7 @@ def compile_html(self, source, dest, is_two_file=True):
out_file.write(output)
deps_path = dest + '.dep'
if deps.list:
deps.list = [p for p in deps.list if p != dest] #Don't depend on yourself (#1671)
with io.open(deps_path, "w+", encoding="utf8") as deps_file:
deps_file.write('\n'.join(deps.list))
else:

0 comments on commit a52163f

Please sign in to comment.