use access for fileExits instead of try to open a file
[enigma2.git] / lib / python / Tools / CList.py
1 class CList(list):
2         def __getattr__(self, attr):
3                 return CList([getattr(a, attr) for a in self])
4
5         def __call__(self, *args, **kwargs):
6                 for x in self:
7                         x(*args, **kwargs)