wrapfunction: use sysstr instead of bytes as argument in "exthelper"
This is as valid and simpler, it will help us to eventually get ride of
`safehasattr`.
--- a/mercurial/exthelper.py Mon Jul 10 15:38:53 2023 +0200
+++ b/mercurial/exthelper.py Mon Jul 10 19:33:14 2023 +0200
@@ -325,7 +325,7 @@
# Required, otherwise the function will not be wrapped
uisetup = eh.finaluisetup
- @eh.wrapfunction(discovery, b'checkheads')
+ @eh.wrapfunction(discovery, 'checkheads')
def wrapcheckheads(orig, *args, **kwargs):
ui.note(b'His head smashed in and his heart cut out')
return orig(*args, **kwargs)