summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-31 21:26:33 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:21 +1000
commitc0b67c6e7e1541ed04cd48bb215f03ed7357d5cf (patch)
tree2b349692db2d3c3ce1d3824eba6e119357757660 /buildtools
parenta7386c9625d1f45c609f3ac688dcda62e5f50e2a (diff)
downloadsamba-c0b67c6e7e1541ed04cd48bb215f03ed7357d5cf.tar.gz
samba-c0b67c6e7e1541ed04cd48bb215f03ed7357d5cf.tar.bz2
samba-c0b67c6e7e1541ed04cd48bb215f03ed7357d5cf.zip
build: fixed the task counter when nothreads is used
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/nothreads.py1
1 files changed, 1 insertions, 0 deletions
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)