Fixed ActionInfos class with slots
authorLaurent Bessard
Wed, 02 Oct 2013 19:58:32 +0200
changeset 1341 0923e602c603
parent 1340 7e5702d1f246
child 1342 c17507a10807
Fixed ActionInfos class with slots
PLCControler.py
--- a/PLCControler.py	Wed Oct 02 17:58:16 2013 +0200
+++ b/PLCControler.py	Wed Oct 02 19:58:32 2013 +0200
@@ -419,7 +419,7 @@
 _ConnectionLinkInfos = namedtuple("ConnectionLinkInfos",
     ["refLocalId", "formalParameter", "points"])
 
-class _ActionInfos:
+class _ActionInfos(object):
     __slots__ = ["qualifier", "type", "value", "duration", "indicator"]
     def __init__(self, *args):
         for attr, value in zip(self.__slots__, args):