Show More
@@ -105,9 +105,12 b' def run():' | |||
|
105 | 105 | # change the status code and move on. |
|
106 | 106 | except IOError: |
|
107 | 107 | status = -1 |
|
108 | ||
|
109 | 108 | sys.exit(status & 255) |
|
110 | 109 | |
|
110 | if pycompat.ispy3: | |
|
111 | def _initstdio(): | |
|
112 | pass | |
|
113 | else: | |
|
111 | 114 | def _initstdio(): |
|
112 | 115 | for fp in (sys.stdin, sys.stdout, sys.stderr): |
|
113 | 116 | util.setbinary(fp) |
General Comments 0
You need to be logged in to leave comments.
Login now