From: Neil Schemenauer Date: Wed, 29 Aug 2001 23:57:22 +0000 (+0000) Subject: Flush output more aggressively. This makes things look better if X-Git-Tag: v2.2a3~229 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=69374e483630ad6df9d14b8baa15ac18d20c428e;p=thirdparty%2FPython%2Fcpython.git Flush output more aggressively. This makes things look better if the setup script is running from inside Vim. --- diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py index ce44829498b9..85a7f4618272 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()