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`.
--- 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)