git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add some new (currently unused) source/renderer based elements
[enigma2.git]
/
lib
/
python
/
Tools
/
CList.py
diff --git a/lib/python/Tools/CList.py
b/lib/python/Tools/CList.py
new file mode 100644
(file)
index 0000000..
d820175
--- /dev/null
+++ b/
lib/python/Tools/CList.py
@@ -0,0
+1,7
@@
+class CList(list):
+ def __getattr__(self, attr):
+ return CList([getattr(a, attr) for a in self])
+
+ def __call__(self, *args, **kwargs):
+ for x in self:
+ x(*args, **kwargs)