Ma Shimiao
2014-04-21 08:07:21 UTC
Signed-off-by: Ma Shimiao <***@cn.fujitsu.com>
---
lsm/lsm/_common.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lsm/lsm/_common.py b/lsm/lsm/_common.py
index 19b0a24..65a6cce 100644
--- a/lsm/lsm/_common.py
+++ b/lsm/lsm/_common.py
@@ -550,8 +550,8 @@ def return_requires(*types):
is quite important.
"""
def outer(func):
- def inner(*args):
- r = func(*args)
+ def inner(*args, **kwargs):
+ r = func(*args, **kwargs)
# In this case the user did something like
# @return_requires(int, string, int)
---
lsm/lsm/_common.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lsm/lsm/_common.py b/lsm/lsm/_common.py
index 19b0a24..65a6cce 100644
--- a/lsm/lsm/_common.py
+++ b/lsm/lsm/_common.py
@@ -550,8 +550,8 @@ def return_requires(*types):
is quite important.
"""
def outer(func):
- def inner(*args):
- r = func(*args)
+ def inner(*args, **kwargs):
+ r = func(*args, **kwargs)
# In this case the user did something like
# @return_requires(int, string, int)
--
1.8.3.1
1.8.3.1