Commit 31ba5afa authored by Neil Schemenauer's avatar Neil Schemenauer

Flush output more aggressively. This makes things look better if

the setup script is running from inside Vim.
parent 679698bb
...@@ -188,6 +188,7 @@ class Command: ...@@ -188,6 +188,7 @@ class Command:
""" """
if self.verbose >= level: if self.verbose >= level:
print msg print msg
sys.stdout.flush()
def debug_print (self, msg): def debug_print (self, msg):
"""Print 'msg' to stdout if the global DEBUG (taken from the """Print 'msg' to stdout if the global DEBUG (taken from the
...@@ -196,6 +197,7 @@ class Command: ...@@ -196,6 +197,7 @@ class Command:
from distutils.core import DEBUG from distutils.core import DEBUG
if DEBUG: if DEBUG:
print msg print msg
sys.stdout.flush()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment