Mercurial > hg-stable
changeset 38608:fe81af15675a
py3: drop b'' while formatting BundleUnknownFeatureError message
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 08 Jul 2018 19:32:39 +0900 |
parents | 15622e72307d |
children | 980aee54fd70 |
files | mercurial/error.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/error.py Sun Jul 08 19:11:54 2018 +0900 +++ b/mercurial/error.py Sun Jul 08 19:32:39 2018 +0900 @@ -241,7 +241,7 @@ if val is None: entries.append(val) else: - entries.append("%s=%r" % (par, val)) + entries.append("%s=%r" % (par, pycompat.maybebytestr(val))) if entries: msg = '%s - %s' % (msg, ', '.join(entries)) ValueError.__init__(self, msg)