# HG changeset patch # User Edouard Tisserant # Date 1519893672 -3600 # Node ID ce1bfd04b3f6690edb8ceb8b035d20b55cceba58 # Parent 67f0d7ff7d3eb6fffd80d6b7788110455d0e89b2 pep8 and pylint hate me diff -r 67f0d7ff7d3e -r ce1bfd04b3f6 PLCControler.py --- a/PLCControler.py Wed Feb 28 16:10:05 2018 +0100 +++ b/PLCControler.py Thu Mar 01 09:41:12 2018 +0100 @@ -35,7 +35,6 @@ import util.paths as paths from plcopen import * from plcopen.types_enums import * -from plcopen.XSLTModelQuery import _StringValue, _BoolValue, _translate_args from plcopen.InstancesPathCollector import InstancesPathCollector from plcopen.POUVariablesCollector import POUVariablesCollector from plcopen.InstanceTagnameCollector import InstanceTagnameCollector @@ -48,8 +47,6 @@ ScriptDirectory = paths.AbsDir(__file__) - - # Length of the buffer UNDO_BUFFER_LENGTH = 20 diff -r 67f0d7ff7d3e -r ce1bfd04b3f6 plcopen/BlockInstanceCollector.py --- a/plcopen/BlockInstanceCollector.py Wed Feb 28 16:10:05 2018 +0100 +++ b/plcopen/BlockInstanceCollector.py Thu Mar 01 09:41:12 2018 +0100 @@ -4,8 +4,8 @@ # See COPYING file for copyrights details. from __future__ import absolute_import +from collections import OrderedDict, namedtuple from plcopen.XSLTModelQuery import XSLTModelQuery, _StringValue, _BoolValue, _translate_args -from collections import OrderedDict, namedtuple # ------------------------------------------------------------------------------- # Helpers object for generating pou block instances list