comparison hgext/win32mbcs.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 79dd61a4554f
children 2372284d9457
comparison
equal deleted inserted replaced
39595:a911932d5003 39596:409c42d6a570