clean etherlab: pep8, E222 multiple spaces after operator
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Sat, 29 Sep 2018 12:55:56 +0300
changeset 2373 73d35ba8f982
parent 2372 51f3acc89a58
child 2374 aed3ca79a10a
clean etherlab: pep8, E222 multiple spaces after operator
etherlab/CommonEtherCATFunction.py
etherlab/EtherCATManagementEditor.py
--- a/etherlab/CommonEtherCATFunction.py	Sat Sep 29 12:54:42 2018 +0300
+++ b/etherlab/CommonEtherCATFunction.py	Sat Sep 29 12:55:56 2018 +0300
@@ -11,7 +11,7 @@
 import os
 import wx
 
-mailbox_protocols =  ["AoE", "EoE", "CoE", "FoE", "SoE", "VoE"]
+mailbox_protocols = ["AoE", "EoE", "CoE", "FoE", "SoE", "VoE"]
 
 
 def ExtractHexDecValue(value):
--- a/etherlab/EtherCATManagementEditor.py	Sat Sep 29 12:54:42 2018 +0300
+++ b/etherlab/EtherCATManagementEditor.py	Sat Sep 29 12:55:56 2018 +0300
@@ -761,7 +761,7 @@
         if name == "Tx" :
             # obtain pdo_info and pdo_entry
             # pdo_info include (PDO index, name, number of entry)
-            pdo_info =  self.Controler.CommonMethod.GetTxPDOCategory()
+            pdo_info = self.Controler.CommonMethod.GetTxPDOCategory()
             pdo_entry = self.Controler.CommonMethod.GetTxPDOInfo()
             for tmp in pdo_info :
                 title = str(hex(tmp['pdo_index']))