Skip to content
Permalink
Browse files

show all errors at once

  • Loading branch information
ralsina committed May 23, 2015
1 parent 78dbce2 commit ddd484abf6eb23ead43e80b958275affd60b3fb7
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/nikola.py
@@ -1470,13 +1470,13 @@ def scan_posts(self, really=False, ignore_quit=False, quiet=False):
dest,
self.post_per_file[dest].source_path,
post.source_path))
sys.exit(1)
quit = True
if (src_dest in self.post_per_file) and self.config['COPY_SOURCES']:
utils.LOGGER.error('Two posts are trying to generate {0}: {1} and {2}'.format(
src_dest,
self.post_per_file[dest].source_path,
post.source_path))
sys.exit(1)
quit = True
self.post_per_file[dest] = post
self.post_per_file[src_dest] = post

0 comments on commit ddd484a

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