From 2a234e065960927d16b3d0c625f7948699719223 Mon Sep 17 00:00:00 2001 From: Xon Date: Tue, 29 Mar 2011 09:15:34 +0800 Subject: [PATCH] Fix typo in pool warmup in non-verbose mode --- rendernode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rendernode.py b/rendernode.py index f61a986..d762b73 100644 --- a/rendernode.py +++ b/rendernode.py @@ -136,7 +136,7 @@ class RenderNode(object): pool = multiprocessing.Pool(processes=procs,initializer=pool_initializer,initargs=(self,)) #warm up the pool so it reports all the worker id's if logging.getLogger().level >= 10: - pool.map_(bool,xrange(multiprocessing.cpu_count()),1) + pool.map(bool,xrange(multiprocessing.cpu_count()),1) else: pool.map_async(bool,xrange(multiprocessing.cpu_count()),1)