beautifygraph: use sysstr for checking encoding._wide
# skip-blame just an r prefix
Differential Revision: https://phab.mercurial-scm.org/D4245
--- a/hgext/beautifygraph.py Fri Aug 10 01:42:01 2018 -0400
+++ b/hgext/beautifygraph.py Fri Aug 10 00:07:45 2018 -0400
@@ -82,7 +82,7 @@
ui.warn(_('beautifygraph: unsupported encoding, UTF-8 required\n'))
return
- if 'A' in encoding._wide:
+ if r'A' in encoding._wide:
ui.warn(_('beautifygraph: unsupported terminal settings, '
'monospace narrow text required\n'))
return