Skip to content

Commit ddd484a

Browse files
committedMay 23, 2015
show all errors at once
1 parent 78dbce2 commit ddd484a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎nikola/nikola.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1470,13 +1470,13 @@ def scan_posts(self, really=False, ignore_quit=False, quiet=False):
14701470
dest,
14711471
self.post_per_file[dest].source_path,
14721472
post.source_path))
1473-
sys.exit(1)
1473+
quit = True
14741474
if (src_dest in self.post_per_file) and self.config['COPY_SOURCES']:
14751475
utils.LOGGER.error('Two posts are trying to generate {0}: {1} and {2}'.format(
14761476
src_dest,
14771477
self.post_per_file[dest].source_path,
14781478
post.source_path))
1479-
sys.exit(1)
1479+
quit = True
14801480
self.post_per_file[dest] = post
14811481
self.post_per_file[src_dest] = post
14821482

0 commit comments

Comments
 (0)
Please sign in to comment.