From c0b67c6e7e1541ed04cd48bb215f03ed7357d5cf Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 31 Mar 2010 21:26:33 +1100 Subject: build: fixed the task counter when nothreads is used --- buildtools/wafsamba/nothreads.py | 1 + 1 file changed, 1 insertion(+) diff --git a/buildtools/wafsamba/nothreads.py b/buildtools/wafsamba/nothreads.py index a7cfa7302e..d227ce1a97 100644 --- a/buildtools/wafsamba/nothreads.py +++ b/buildtools/wafsamba/nothreads.py @@ -199,6 +199,7 @@ class Parallel(object): # run me: put the task in ready queue tsk.position = (self.processed, self.total) self.count += 1 + self.processed += 1 tsk.master = self process(tsk) -- cgit