mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1057056 - Set __doc__ attribute of decorated structured logger methods. r=jgraham
This commit is contained in:
parent
a0ed0c97eb
commit
4b1e9cce34
@ -46,6 +46,9 @@ class log_action(object):
|
||||
data = converter.convert(*args, **kwargs)
|
||||
return f(self, data)
|
||||
|
||||
if hasattr(f, '__doc__'):
|
||||
setattr(inner, '__doc__', f.__doc__)
|
||||
|
||||
return inner
|
||||
|
||||
def convert(self, *args, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user