diff hgext/eol.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 e7aa113b14f7
children d98ec36be808
line wrap: on
line diff