##// END OF EJS Templates
wrapfunction: use sysstr instead of bytes as argument in "exthelper"...
marmoute -
r51691:d9e22b39 default
parent child Browse files
Show More
@@ -325,7 +325,7 b' class exthelper:'
325 # Required, otherwise the function will not be wrapped
325 # Required, otherwise the function will not be wrapped
326 uisetup = eh.finaluisetup
326 uisetup = eh.finaluisetup
327
327
328 @eh.wrapfunction(discovery, b'checkheads')
328 @eh.wrapfunction(discovery, 'checkheads')
329 def wrapcheckheads(orig, *args, **kwargs):
329 def wrapcheckheads(orig, *args, **kwargs):
330 ui.note(b'His head smashed in and his heart cut out')
330 ui.note(b'His head smashed in and his heart cut out')
331 return orig(*args, **kwargs)
331 return orig(*args, **kwargs)
General Comments 0
You need to be logged in to leave comments. Login now