Skip to content
Permalink
Browse files

fix #1646 -- check if files exist before adding deps in post-list

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 3, 2015
1 parent 24de93f commit aa74b095d510b773432195229e8f3b1a6ff66156
Showing with 5 additions and 1 deletion.
  1. +2 −0 CHANGES.txt
  2. +3 −1 nikola/plugins/compile/rest/post_list.py
@@ -14,6 +14,8 @@ Features
Bugfixes
--------

* Check if files exists before adding them as post-list dependencies
(Issue #1646)
* Fix build command in ``nikola auto`` (Issue #1641)
* Update Bootstrap to v3.3.4
* Update jquery-colorbox
@@ -171,7 +171,9 @@ def run(self):
if cont:
continue

self.state.document.settings.record_dependencies.add(post.translated_base_path(lang))
bp = post.translated_base_path(lang)
if os.path.exists(bp):
self.state.document.settings.record_dependencies.add(bp)

posts += [post]

0 comments on commit aa74b09

Please sign in to comment.