projects
/
mdis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e132cae
)
dispatcher: wrap original call
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Wed, 28 Jun 2023 22:12:52 +0000
(
01:12
+0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Wed, 28 Jun 2023 22:12:52 +0000
(
01:12
+0300)
src/mdis/dispatcher.py
patch
|
blob
|
history
diff --git
a/src/mdis/dispatcher.py
b/src/mdis/dispatcher.py
index 71f229132294a08758cdec27f9e6c1d7c76d62c8..a80d3af7550e5b0da8dd7a47b1c680b5825afc57 100644
(file)
--- a/
src/mdis/dispatcher.py
+++ b/
src/mdis/dispatcher.py
@@
-33,6
+33,7
@@
class Hook(object):
def __call__(self, call):
class ConcreteHook(Hook):
+ @functools.wraps(call)
def __call__(self, dispatcher, node, *args, **kwargs):
# We do not force specific arguments other than node.
# API users can introduce additional *args and **kwargs.