disallow '"' in filenames
[enigma2.git] / lib / python / Tools / BoundFunction.py
1 class boundFunction:
2         def __init__(self, fnc, *args, **kwargs):
3                 self.fnc = fnc
4                 self.args = args
5                 self.kwargs = kwargs
6         def __call__(self, *args, **kwargs):
7                 newkwargs = self.kwargs
8                 newkwargs.update(kwargs)
9                 self.fnc(*self.args + args, **newkwargs)