Flush output more aggressively. This makes things look better if

the setup script is running from inside Vim.
This commit is contained in:
Neil Schemenauer 2001-08-29 23:57:22 +00:00
parent c806c8858d
commit 69374e4836

View file

@ -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()