Mercurial > hg
comparison hgext/notify.py @ 39596:409c42d6a570
py3: use sysstr() to convert ProgrammingError bytes with no unicode error risk
msg.decode('utf8') may fail if msg isn't an ASCII string, and that's possible
as we sometimes embed a filename in the error message for example.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 13 Sep 2018 22:32:51 +0900 |
parents | d1134ca5b1a3 |
children | c7a363ca04b9 |
comparison
equal
deleted
inserted
replaced
39595:a911932d5003 | 39596:409c42d6a570 |
---|