summaryrefslogtreecommitdiff
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
commit2a52a1b530e2a430a34a28255ec9a2dff4f34534 (patch)
treeb6fb309348eb8b3b6846c8033001eef2982972e6
parent71bc1d10f601dab9023c73e207bc787923b4f55c (diff)
downloaddefinitions-2a52a1b530e2a430a34a28255ec9a2dff4f34534.tar.gz
Write extensions: Flush output when using status()
This is required to get real-time output and the timestamps meaning anything useful.
-rw-r--r--writeexts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/writeexts.py b/writeexts.py
index de4189f8..410b8c9f 100644
--- a/writeexts.py
+++ b/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.'''