plcopen/plcopen.py
changeset 427 22d16c457d87
parent 417 218142afdb53
child 435 893d04aff708
--- a/plcopen/plcopen.py	Thu Sep 17 11:16:14 2009 -0600
+++ b/plcopen/plcopen.py	Thu Sep 17 14:17:52 2009 -0600
@@ -1032,7 +1032,7 @@
                     removed = True
                 i += 1
             if not removed:
-                raise ValueError, _("Transition with name %s doesn't exists!")%name
+                raise ValueError, _("Transition with name %s doesn't exist!")%name
     setattr(cls, "removetransition", removetransition)
 
     def addaction(self, name, type):
@@ -1070,7 +1070,7 @@
                     removed = True
                 i += 1
             if not removed:
-                raise ValueError, _("Action with name %s doesn't exists!")%name
+                raise ValueError, _("Action with name %s doesn't exist!")%name
     setattr(cls, "removeaction", removeaction)
 
     def updateElementName(self, old_name, new_name):
@@ -1326,7 +1326,7 @@
                     removed = True
                 i += 1
             if not removed:
-                raise ValueError, _("Instance with id %d doesn't exists!")%id
+                raise ValueError, _("Instance with id %d doesn't exist!")%id
         else:
             raise TypeError, "%s body don't have instances!"%self.content["name"]
     setattr(cls, "removecontentInstance", removecontentInstance)