# HG changeset patch # User Laurent Bessard # Date 1380736712 -7200 # Node ID 0923e602c603d69944f7875e94c94970366a9195 # Parent 7e5702d1f246d76b00d8c6100b93a30bcd2fae6d Fixed ActionInfos class with slots diff -r 7e5702d1f246 -r 0923e602c603 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):