equal
deleted
inserted
replaced
138 # change the status code and move on. |
138 # change the status code and move on. |
139 except IOError: |
139 except IOError: |
140 status = -1 |
140 status = -1 |
141 |
141 |
142 _silencestdio() |
142 _silencestdio() |
143 finally: |
143 except KeyboardInterrupt: |
144 pass |
144 # Catch early/late KeyboardInterrupt as last ditch. Here nothing will |
|
145 # be printed to console to avoid another IOError/KeyboardInterrupt. |
|
146 status = -1 |
145 sys.exit(status & 255) |
147 sys.exit(status & 255) |
146 |
148 |
147 |
149 |
148 if pycompat.ispy3: |
150 if pycompat.ispy3: |
149 |
151 |