From 69374e483630ad6df9d14b8baa15ac18d20c428e Mon Sep 17 00:00:00 2001 From: Neil Schemenauer Date: Wed, 29 Aug 2001 23:57:22 +0000 Subject: [PATCH] Flush output more aggressively. This makes things look better if the setup script is running from inside Vim. --- Lib/distutils/cmd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py index ce44829498..85a7f46182 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() -- 2.50.1