summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/cmd.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py
index ce44829..85a7f46 100644
--- a/Lib/distutils/cmd.py
+++ b/Lib/distutils/cmd.py
@@ -188,6 +188,7 @@ class Command:
"""
if self.verbose >= level:
print msg
+ sys.stdout.flush()
def debug_print (self, msg):
"""Print 'msg' to stdout if the global DEBUG (taken from the
@@ -196,6 +197,7 @@ class Command:
from distutils.core import DEBUG
if DEBUG:
print msg
+ sys.stdout.flush()