equal
deleted
inserted
replaced
323 example:: |
323 example:: |
324 |
324 |
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) |
332 """ |
332 """ |
333 |
333 |