summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-12 07:35:53 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-12 07:35:53 +0200
commit9f091cf110599a3ca33796ea8e6472ecfb4c92bc (patch)
treea7b9a5cea95687eb00912d1f0f0b4bf8723e4071
parentb07b08f9db6ac66f8b7526a0cd835bec931b0423 (diff)
downloaduxp-9f091cf110599a3ca33796ea8e6472ecfb4c92bc.tar.gz
Flush some more buildlog output to screen when prudent.
-rw-r--r--python/mozbuild/mozbuild/controller/clobber.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/mozbuild/mozbuild/controller/clobber.py b/python/mozbuild/mozbuild/controller/clobber.py
index 02f75c6ada..d3cdfd5968 100644
--- a/python/mozbuild/mozbuild/controller/clobber.py
+++ b/python/mozbuild/mozbuild/controller/clobber.py
@@ -169,6 +169,7 @@ class Clobberer(object):
if not self.clobber_needed():
print('Clobber not needed.', file=fh)
+ fh.flush()
self.ensure_objdir_state()
return False, False, None
@@ -190,6 +191,7 @@ class Clobberer(object):
'Cannot clobber while the shell is inside the object directory.')
print('Automatically clobbering %s' % self.topobjdir, file=fh)
+ fh.flush()
try:
self.remove_objdir(False)
self.ensure_objdir_state()