Show More
@@ -88,13 +88,13 b' def run():' | |||||
88 | status = -1 |
|
88 | status = -1 | |
89 | if util.safehasattr(req.ui, 'fout'): |
|
89 | if util.safehasattr(req.ui, 'fout'): | |
90 | try: |
|
90 | try: | |
91 |
req.ui.fout. |
|
91 | req.ui.fout.flush() | |
92 | except IOError as err: |
|
92 | except IOError as err: | |
93 | status = -1 |
|
93 | status = -1 | |
94 | if util.safehasattr(req.ui, 'ferr'): |
|
94 | if util.safehasattr(req.ui, 'ferr'): | |
95 | if err is not None and err.errno != errno.EPIPE: |
|
95 | if err is not None and err.errno != errno.EPIPE: | |
96 | req.ui.ferr.write('abort: %s\n' % err.strerror) |
|
96 | req.ui.ferr.write('abort: %s\n' % err.strerror) | |
97 |
req.ui.ferr. |
|
97 | req.ui.ferr.flush() | |
98 | sys.exit(status & 255) |
|
98 | sys.exit(status & 255) | |
99 |
|
99 | |||
100 | def _getsimilar(symbols, value): |
|
100 | def _getsimilar(symbols, value): |
General Comments 0
You need to be logged in to leave comments.
Login now