plcopen/structures.py
changeset 92 76d5001393df
parent 78 049f2e7090a2
child 93 c3c24b979a4d
--- a/plcopen/structures.py	Thu Sep 13 09:46:51 2007 +0200
+++ b/plcopen/structures.py	Mon Sep 17 10:13:56 2007 +0200
@@ -199,8 +199,12 @@
 Function that add a new plugin to the plugin list
 """
 
-def AddPlugin(blocklist):
-    PluginTypes.append(blocklist)
+def AddPluginBlockList(blocklist):
+    PluginTypes.extend(blocklist)
+    
+def ClearPluginTypes():
+    for i in xrange(len(PluginTypes)):
+        PluginTypes.pop(0)
 
 #-------------------------------------------------------------------------------
 #                           Data Types definitions