cleanup etherlab: pep8, E303 too many blank lines (2)
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 28 Sep 2018 19:06:28 +0300
changeset 2364 4ea781f30555
parent 2363 9c7da6ff6a34
child 2365 bc07b9910cdb
cleanup etherlab: pep8, E303 too many blank lines (2)
etherlab/EtherCATManagementEditor.py
etherlab/EthercatCIA402Slave.py
etherlab/etherlab.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:'),
--- 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()
--- 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()