beremiz

Fixed ActionInfos class with slots

2013-10-02, Laurent Bessard
0923e602c603
Parents 7e5702d1f246
Children c17507a10807
Fixed ActionInfos class with slots
--- 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):