Skip to content
Permalink
Browse files
Setting doit minimal version.
Setting doit parallelism mechanism to threading, as multi-processing does not work due to pickling.
  • Loading branch information
felixfontein committed Mar 9, 2015
1 parent f6026c9 commit 5c00a3aa602f52b3a3220e0a6f6aef07d9f3f7c8
Showing with 2 additions and 0 deletions.
  1. +2 −0 nikola/__main__.py
@@ -329,6 +329,8 @@ def load_tasks(self, cmd, opt_values, pos_args):
}
stages = self.nikola.get_task_stages()
DOIT_CONFIG['default_tasks'] = []
DOIT_CONFIG['minversion'] = '0.27.0'
DOIT_CONFIG['par_type'] = 'thread' # multi-processing won't work with doit's approach of pickling task parameters
tasks = []
previous_stage = None
for stage in stages:

0 comments on commit 5c00a3a

Please sign in to comment.