# HG changeset patch # User Pierre-Yves David # Date 1675393789 -3600 # Node ID caa0a25f72433ce5687fb2a6f391c14b65bfd3ce # Parent 8250ecb53f309de9257cd82d40726b27dfb03aef wrapfunction: use sysstr instead of bytes as argument in "beautifygraph" This is as valid and simpler, it will help us to eventually get ride of `safehasattr`. diff -r 8250ecb53f30 -r caa0a25f7243 hgext/beautifygraph.py --- a/hgext/beautifygraph.py Mon Jul 10 15:59:04 2023 +0200 +++ b/hgext/beautifygraph.py Fri Feb 03 04:09:49 2023 +0100 @@ -103,5 +103,5 @@ ) return - extensions.wrapfunction(graphmod, b'outputgraph', outputprettygraph) - extensions.wrapfunction(templatekw, b'getgraphnode', getprettygraphnode) + extensions.wrapfunction(graphmod, 'outputgraph', outputprettygraph) + extensions.wrapfunction(templatekw, 'getgraphnode', getprettygraphnode)