build: fixed the task counter when nothreads is used
authorAndrew Tridgell <tridge@samba.org>
Wed, 31 Mar 2010 10:26:33 +0000 (21:26 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:21 +0000 (20:27 +1000)
buildtools/wafsamba/nothreads.py

index a7cfa7302e3fe09f57fa5dabc65bd350a585a353..d227ce1a973f451c03e9f721d6f175f3ec3874ed 100644 (file)
@@ -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)