Fix an error in the progress bar

This commit is contained in:
Thomas Nagy 2016-04-30 14:24:46 +02:00
parent 80109eacbe
commit a7dac255af
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 2 additions and 2 deletions

View File

@ -264,6 +264,8 @@ class BuildContext(Context.Context):
m = self.progress_line(c, c, Logs.colors.BLUE, Logs.colors.NORMAL)
Logs.info(m, extra={'stream': sys.stderr, 'c1': Logs.colors.cursor_off, 'c2' : Logs.colors.cursor_on})
Logs.info("Waf: Leaving directory `%s'" % self.variant_dir)
self.producer.bld = None
self.producer = None
self.post_build()
def restore(self):
@ -354,8 +356,6 @@ class BuildContext(Context.Context):
if self.producer.error:
raise Errors.BuildError(self.producer.error)
self.producer.bld = None
self.producer = None
def setup(self, tool, tooldir=None, funs=None):
"""