Skip to content
Snippets Groups Projects
Commit a0c3d83d5f04 authored by Pulkit Goyal's avatar Pulkit Goyal
Browse files

py3: use stringutil.pprint() to print NoneType

Before this patch, when running test-debugcommands.t, we get a TypeError because
NoneType can't be converted into bytes. This patch uses stringutil.pprint() to
print the ui._colormode.

We are now close to getting test-debugcommands.t passing on Python 3.

Differential Revision: https://phab.mercurial-scm.org/D3831
parent e6b643ccf87d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment