summaryrefslogtreecommitdiffstats
path: root/repo
diff options
context:
space:
mode:
Diffstat (limited to 'repo')
-rwxr-xr-xrepo4
1 files changed, 4 insertions, 0 deletions
diff --git a/repo b/repo
index 78cb41bf..bd3a3f1c 100755
--- a/repo
+++ b/repo
@@ -144,6 +144,10 @@ def _print(*objects, **kwargs):
144 out = kwargs.get('file', sys.stdout) 144 out = kwargs.get('file', sys.stdout)
145 out.write(sep.join(objects) + end) 145 out.write(sep.join(objects) + end)
146 146
147 # On Windows stderr is buffered, so flush to maintain the order of error messages.
148 if out == sys.stderr and platform.system() == "Windows":
149 out.flush()
150
147 151
148# Python version check 152# Python version check
149ver = sys.version_info 153ver = sys.version_info