diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-08-07 23:56:47 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-08-07 23:56:47 +0000 |
| commit | f7473842135096d46bd9d3adfb85bf2c23c8b128 (patch) | |
| tree | 860c03cb109abccf38f53079a3006a8188fe71bc /lib/python/Tools | |
| parent | 1e3c05206632fa2cd62abf9345a93ebd510bf3e2 (diff) | |
| download | enigma2-f7473842135096d46bd9d3adfb85bf2c23c8b128.tar.gz enigma2-f7473842135096d46bd9d3adfb85bf2c23c8b128.zip | |
make infobar extensions more flexible (and easier to reuse and extend)
Diffstat (limited to 'lib/python/Tools')
| -rw-r--r-- | lib/python/Tools/BoundFunction.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/Tools/BoundFunction.py b/lib/python/Tools/BoundFunction.py index f28a50c8..29e8f61c 100644 --- a/lib/python/Tools/BoundFunction.py +++ b/lib/python/Tools/BoundFunction.py @@ -6,4 +6,6 @@ class boundFunction: def __call__(self, *args, **kwargs): newkwargs = self.kwargs newkwargs.update(kwargs) - self.fnc(*self.args + args, **newkwargs) + return self.fnc(*self.args + args, **newkwargs) + + |
