From 9f091cf110599a3ca33796ea8e6472ecfb4c92bc Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 12 Sep 2018 07:35:53 +0200 Subject: 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 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() -- cgit v1.2.3