--- 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: