From 2a52a1b530e2a430a34a28255ec9a2dff4f34534 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Mon, 10 Jun 2013 22:32:09 +0000 Subject: Write extensions: Flush output when using status() This is required to get real-time output and the timestamps meaning anything useful. --- writeexts.py | 1 + 1 file changed, 1 insertion(+) 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.''' -- cgit v1.2.1