Commit c8e834cd authored by Nicolas Delaby's avatar Nicolas Delaby

Ease introspection for debuging

parent 93472ec2
...@@ -498,6 +498,8 @@ def lazyMethod(func): ...@@ -498,6 +498,8 @@ def lazyMethod(func):
result = func(self, *args, **kw) result = func(self, *args, **kw)
setattr(self, key, result) setattr(self, key, result)
return result return result
decorated.__doc__ = func.__doc__
decorated.__name__ = func.__name__
return decorated return decorated
class ListBoxRenderer: class ListBoxRenderer:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment