summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--giscanner/dumper.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 4416ac75..b8449384 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -20,6 +20,7 @@
#
import os
+import sys
import subprocess
import shutil
import tempfile
@@ -187,6 +188,7 @@ class DumpCompiler(object):
if not self._options.quiet:
print "g-ir-scanner: compile: %s" % (
subprocess.list2cmdline(args), )
+ sys.stdout.flush()
try:
subprocess.check_call(args)
except subprocess.CalledProcessError, e:
@@ -230,6 +232,7 @@ class DumpCompiler(object):
if not self._options.quiet:
print "g-ir-scanner: link: %s" % (
subprocess.list2cmdline(args), )
+ sys.stdout.flush()
try:
subprocess.check_call(args)
except subprocess.CalledProcessError, e: