summaryrefslogtreecommitdiffstats
path: root/python/mozbuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/mozbuild')
-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 02f75c6ad..d3cdfd596 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()