##// END OF EJS Templates
dispatch: handle empty IOError args...
Matt Mackall -
r21824:57c70d3a default
parent child Browse files
Show More
@@ -225,7 +225,8 b' def _runcatch(req):'
225 225 # it might be anything, for example a string
226 226 reason = inst.reason
227 227 ui.warn(_("abort: error: %s\n") % reason)
228 elif util.safehasattr(inst, "args") and inst.args[0] == errno.EPIPE:
228 elif (util.safehasattr(inst, "args")
229 and inst.args and inst.args[0] == errno.EPIPE):
229 230 if ui.debugflag:
230 231 ui.warn(_("broken pipe\n"))
231 232 elif getattr(inst, "strerror", None):
General Comments 0
You need to be logged in to leave comments. Login now