Mercurial > hg
comparison mercurial/httppeer.py @ 36124:976a9fd706ed
py3: convert traceback representation to bytes when logging
Python's APIs should return a system string. We want to use bytes
for logging. So convert the traceback to bytes before sending
it to the logger.
Differential Revision: https://phab.mercurial-scm.org/D2176
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 11 Feb 2018 19:43:43 -0800 |
parents | 197d10e157ce |
children | e4ccd7a69f77 |
comparison
equal
deleted
inserted
replaced
36123:8eb13f5d5d3f | 36124:976a9fd706ed |
---|