From 20acf1e808cae2c6c90d0bb2d53ac60d7ae40102 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 12 Sep 2018 07:35:53 +0200 Subject: [PATCH] Flush some more buildlog output to screen when prudent. --- python/mozbuild/mozbuild/controller/clobber.py | 2 ++ 1 file changed, 2 insertions(+) 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()