Skip to content

Commit

Permalink
Setting doit minimal version.
Browse files Browse the repository at this point in the history
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 5c00a3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nikola/__main__.py
Expand Up @@ -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:
Expand Down

0 comments on commit 5c00a3a

Please sign in to comment.