git://git.onelab.eu
/
myslice.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cosmetic
[myslice.git]
/
engine
/
composite.py
1
from engine.plugin import Plugin
2
3
class Composite (Plugin):
4
5
def __init__ (self, sons=[], *args, **kwds):
6
self.sons=sons
7
Plugin.__init__ (self, *args, **kwds)
8
9
def insert (self, plugin):
10
self.sons.append(plugin)
11