257
257
def report_exception(exc_info, err_file):
258
258
exc_type, exc_object, exc_tb = exc_info
259
261
if (isinstance(exc_object, IOError)
260
262
and getattr(exc_object, 'errno', None) == errno.EPIPE):
261
263
print >>err_file, "bzr: broken pipe"