Show More
@@ -225,7 +225,8 b' def _runcatch(req):' | |||||
225 | # it might be anything, for example a string |
|
225 | # it might be anything, for example a string | |
226 | reason = inst.reason |
|
226 | reason = inst.reason | |
227 | ui.warn(_("abort: error: %s\n") % reason) |
|
227 | ui.warn(_("abort: error: %s\n") % reason) | |
228 |
elif util.safehasattr(inst, "args") |
|
228 | elif (util.safehasattr(inst, "args") | |
|
229 | and inst.args and inst.args[0] == errno.EPIPE): | |||
229 | if ui.debugflag: |
|
230 | if ui.debugflag: | |
230 | ui.warn(_("broken pipe\n")) |
|
231 | ui.warn(_("broken pipe\n")) | |
231 | elif getattr(inst, "strerror", None): |
|
232 | elif getattr(inst, "strerror", None): |
General Comments 0
You need to be logged in to leave comments.
Login now