Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
show all errors at once
  • Loading branch information
ralsina committed May 23, 2015
1 parent 78dbce2 commit ddd484a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/nikola.py
Expand Up @@ -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

Expand Down

0 comments on commit ddd484a

Please sign in to comment.