# HG changeset patch # User Andrey Skvortsov # Date 1538214956 -10800 # Node ID 73d35ba8f98233a1f88bf9a58742107cf99badc8 # Parent 51f3acc89a588b46c0085f98ca1e7494f8da2f28 clean etherlab: pep8, E222 multiple spaces after operator diff -r 51f3acc89a58 -r 73d35ba8f982 etherlab/CommonEtherCATFunction.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): diff -r 51f3acc89a58 -r 73d35ba8f982 etherlab/EtherCATManagementEditor.py --- 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']))