summaryrefslogtreecommitdiff
path: root/morphlib/writeexts.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-06-10 22:32:09 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2013-06-10 22:32:09 +0000
commitb767433fbe754e71581c0404f9fb3b0ac6d49c38 (patch)
tree16b3a7e3cc47c65c25ed127214ba6a9eb8b93600 /morphlib/writeexts.py
parentbb01eeb962601cbbf6ee82658bc30b91bdb1ae7d (diff)
downloadmorph-b767433fbe754e71581c0404f9fb3b0ac6d49c38.tar.gz
Write extensions: Flush output when using status()
This is required to get real-time output and the timestamps meaning anything useful.
Diffstat (limited to 'morphlib/writeexts.py')
-rw-r--r--morphlib/writeexts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/morphlib/writeexts.py b/morphlib/writeexts.py
index de4189f8..410b8c9f 100644
--- a/morphlib/writeexts.py
+++ b/morphlib/writeexts.py
@@ -48,6 +48,7 @@ class WriteExtension(cliapp.Application):
'''
self.output.write('%s\n' % (kwargs['msg'] % kwargs))
+ self.output.flush()
def create_local_system(self, temp_root, raw_disk):
'''Create a raw system image locally.'''