Mercurial > hg
comparison tests/failfilemerge.py @ 36035:95791b275b73
py3: convert content-type to bytes
This fixes the exception:
TypeError: %b requires a bytes-like object, or an object that
implements __bytes__, not 'str'
On the line:
ui.debug('Content-Type: %s\n' % content_type)
And it prevents additional exceptions that use the content_type
variable later.
Differential Revision: https://phab.mercurial-scm.org/D2136
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 11 Feb 2018 10:49:00 -0800 |
parents | c0ce60459d84 |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
36034:f3d8f61c425d | 36035:95791b275b73 |
---|