oops - missing file
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 19 Dec 2012 09:35:11 +0000 (10:35 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 19 Dec 2012 09:35:11 +0000 (10:35 +0100)
engine/composite.py [new file with mode: 0644]

diff --git a/engine/composite.py b/engine/composite.py
new file mode 100644 (file)
index 0000000..5799eee
--- /dev/null
@@ -0,0 +1,12 @@
+from engine.plugin import Plugin
+from engine.requirements import Requirements
+
+class Composite (Plugin):
+
+    def __init__ (self, sons=[], *args, **kwds):
+        self.sons=sons
+        Plugin.__init__ (self, *args, **kwds)
+        
+    def insert (self, plugin):
+        self.sons.append(plugin)
+