# HG changeset patch # User Andrey Skvortsov # Date 1538150788 -10800 # Node ID 4ea781f305558282d4ea075af16eb72e2907784d # Parent 9c7da6ff6a34a7c51313799340300afe1c0a816a cleanup etherlab: pep8, E303 too many blank lines (2) diff -r 9c7da6ff6a34 -r 4ea781f30555 etherlab/EtherCATManagementEditor.py --- a/etherlab/EtherCATManagementEditor.py Fri Sep 28 19:02:49 2018 +0300 +++ b/etherlab/EtherCATManagementEditor.py Fri Sep 28 19:06:28 2018 +0300 @@ -2130,7 +2130,6 @@ ("innerFrameInfo", [4, 10, 5, 10])]: self.MasterStateSizer[key] = wx.FlexGridSizer(cols=attr[0], hgap=attr[1], rows=attr[2], vgap=attr[3]) - self.UpdateButton = wx.Button(self, label=_('Update')) self.UpdateButton.Bind(wx.EVT_BUTTON, self.OnButtonClick) @@ -2141,7 +2140,6 @@ self.StaticBox[key] = wx.StaticBox(self, label=_(label)) self.MasterStateSizer[key] = wx.StaticBoxSizer(self.StaticBox[key]) - # ----------------------- Master State ----------------------------------------------------------- for key, label in [ ('Phase', 'Phase:'), diff -r 9c7da6ff6a34 -r 4ea781f30555 etherlab/EthercatCIA402Slave.py --- a/etherlab/EthercatCIA402Slave.py Fri Sep 28 19:02:49 2018 +0300 +++ b/etherlab/EthercatCIA402Slave.py Fri Sep 28 19:06:28 2018 +0300 @@ -228,7 +228,6 @@ for input in blocktype_infos["inputs"]] ]) - return_outputs = "\n".join(["""\ __SET_VAR(data__->,%(output_name)s,, __GET_VAR(%(blockname)s->%(output_name)s));""" % locals() diff -r 9c7da6ff6a34 -r 4ea781f30555 etherlab/etherlab.py --- a/etherlab/etherlab.py Fri Sep 28 19:02:49 2018 +0300 +++ b/etherlab/etherlab.py Fri Sep 28 19:06:28 2018 +0300 @@ -396,7 +396,6 @@ CTNChildrenTypes = [("EthercatNode", _EthercatCTN, "Ethercat Master")] EditorType = LibraryEditor - def __init__(self): self.ModulesLibrary = None self.LoadModulesLibrary()