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

py3: use stringutil.pprint() if we are printing bool values

Differential Revision: https://phab.mercurial-scm.org/D5031
parent 7ba6b880b09a
No related branches found
No related tags found
No related merge requests found
......@@ -430,6 +430,8 @@
def demoitems(section, items):
ui.write('[%s]\n' % section)
for k, v in sorted(items):
if isinstance(v, bool):
v = stringutil.pprint(v)
ui.write('%s = %s\n' % (k, v))
fn = 'demo.txt'
......
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