plcopen/plcopen.py
changeset 46 4379e98a30aa
parent 27 dae55dd9ee14
child 47 2b2f8d88e6d3
--- a/plcopen/plcopen.py	Thu Jul 19 11:53:14 2007 +0200
+++ b/plcopen/plcopen.py	Thu Jul 19 15:04:41 2007 +0200
@@ -376,7 +376,7 @@
             removed = False
             while i < len(transitions) and not removed:
                 if transitions[i].getName() == name:
-                    transitions.removeTransition(i)
+                    transitions.pop(i)
                     removed = True
                 i += 1
             if not removed:
@@ -414,7 +414,7 @@
             removed = False
             while i < len(actions) and not removed:
                 if actions[i].getName() == name:
-                    actions.removeAction(i)
+                    actions.pop(i)
                     removed = True
                 i += 1
             if not removed: