##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51488:9096b00f default
parent child Browse files
Show More
@@ -234,7 +234,7 b' def callcatch(ui, func):'
234 234 ui.error(_(b"abort: error: %s\n") % stringutil.forcebytestr(reason))
235 235 except (IOError, OSError) as inst:
236 236 if (
237 util.safehasattr(inst, b"args")
237 util.safehasattr(inst, "args")
238 238 and inst.args
239 239 and inst.args[0] == errno.EPIPE
240 240 ):
General Comments 0
You need to be logged in to leave comments. Login now