Show More
@@ -98,9 +98,11 b' if pycompat.iswindows:' | |||
|
98 | 98 | # destined stdout with a pipe destined stdout (e.g. pager), we want line |
|
99 | 99 | # buffering. |
|
100 | 100 | if isatty(stdout): |
|
101 |
if pycompat.ispy3 |
|
|
101 | if pycompat.ispy3: | |
|
102 | 102 | # Python 3 implements its own I/O streams. |
|
103 | 103 | # The standard library doesn't offer line-buffered binary streams. |
|
104 | stdout = make_line_buffered(stdout) | |
|
105 | elif pycompat.iswindows: | |
|
104 | 106 | # Python 2 uses the I/O streams provided by the C library. |
|
105 | 107 | # The Windows C runtime library doesn't support line buffering. |
|
106 | 108 | stdout = make_line_buffered(stdout) |
General Comments 0
You need to be logged in to leave comments.
Login now