diff --git a/rasp/python/python-probe/rasp/smith.py b/rasp/python/python-probe/rasp/smith.py index 0afd93f60..739da945d 100644 --- a/rasp/python/python-probe/rasp/smith.py +++ b/rasp/python/python-probe/rasp/smith.py @@ -43,4 +43,10 @@ def smith_wrapper(*args, **kwargs): return func(*args, **kwargs) - return staticmethod(smith_wrapper) if static else smith_wrapper + class StaticMethod(object): + _func = staticmethod(smith_wrapper) + + def __call__(self, *args, **kwargs): + return self._func(*args, **kwargs) + + return StaticMethod() if static else smith_wrapper