git.samba.org
/
tridge
/
waf-svn.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5313ea9
)
#851
author
Thomas Nagy
<tnagy1024@gmail.com>
Sun, 16 Jan 2011 15:02:22 +0000
(15:02 +0000)
committer
Thomas Nagy
<tnagy1024@gmail.com>
Sun, 16 Jan 2011 15:02:22 +0000
(15:02 +0000)
git-svn-id: https://waf.googlecode.com/svn/trunk@10874
f0382ac9
-c320-0410-b3f0-
b508d59f5a85
waflib/Build.py
patch
|
blob
|
history
diff --git
a/waflib/Build.py
b/waflib/Build.py
index 34fa1a795521d40bd00806cda6f01f11dedafbf4..cc8ee31e49d7db7042746ddbafedaf9dbbf9e032 100644
(file)
--- a/
waflib/Build.py
+++ b/
waflib/Build.py
@@
-246,7
+246,8
@@
class BuildContext(Context.Context):
self.compile()
finally:
if self.progress_bar == 1:
- self.to_log(self.progress_line(len(self.returned_tasks), len(self.returned_tasks), Logs.colors.BLUE, Logs.colors.NORMAL))
+ c = len(self.returned_tasks) or 1
+ self.to_log(self.progress_line(c, c, Logs.colors.BLUE, Logs.colors.NORMAL))
sys.stderr.write(Logs.colors.cursor_on)
print('')
Logs.info("Waf: Leaving directory `%s'" % self.variant_dir)