--- a/plcopen/plcopen.py Thu Mar 06 14:22:36 2008 +0100
+++ b/plcopen/plcopen.py Fri Mar 07 09:16:54 2008 +0100
@@ -328,9 +328,9 @@
cls = PLCOpenClasses.get("configuration_resource", None)
if cls:
def updateElementName(self, old_name, new_name):
- for instance in self.getPouInstance():
+ for instance in self.getpouInstance():
instance.updateElementName(old_name, new_name)
- for task in self.getTask():
+ for task in self.gettask():
task.updateElementName(old_name, new_name)
setattr(cls, "updateElementName", updateElementName)
@@ -339,7 +339,7 @@
def updateElementName(self, old_name, new_name):
if self.single == old_name:
self.single = new_name
- for instance in self.getPouInstance():
+ for instance in self.getpouInstance():
instance.updateElementName(old_name, new_name)
setattr(cls, "updateElementName", updateElementName)