clean etherlab: pylint, C0411 # (wrong-import-order) standard import "import x" comes before "import y"
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Sat, 29 Sep 2018 16:19:15 +0300
changeset 2390 81116c5db60f
parent 2389 f86eefc8d378
child 2391 3315e621d7fb
clean etherlab: pylint, C0411 # (wrong-import-order) standard import "import x" comes before "import y"
etherlab/EtherCATManagementEditor.py
etherlab/EthercatMaster.py
etherlab/etherlab.py
--- a/etherlab/EtherCATManagementEditor.py	Sat Sep 29 16:17:04 2018 +0300
+++ b/etherlab/EtherCATManagementEditor.py	Sat Sep 29 16:19:15 2018 +0300
@@ -8,6 +8,8 @@
 # See COPYING file for copyrights details.
 
 import os
+import string
+from xml.dom import minidom
 
 import wx
 import wx.grid
@@ -18,12 +20,8 @@
 from controls import CustomGrid, CustomTable
 # --------------------------------------------------------------------
 
-# ------------ for SDO Management --------------------
-import string
-# -------------------------------------------------------------
-
 # ------------ for register management ---------------
-from xml.dom import minidom
+
 from util.TranslationCatalogs import NoTranslate
 # -------------------------------------------------------------
 
--- a/etherlab/EthercatMaster.py	Sat Sep 29 16:17:04 2018 +0300
+++ b/etherlab/EthercatMaster.py	Sat Sep 29 16:19:15 2018 +0300
@@ -11,8 +11,8 @@
 
 import os
 import cPickle
+from copy import deepcopy
 from lxml import etree
-from copy import deepcopy
 
 import wx
 
--- a/etherlab/etherlab.py	Sat Sep 29 16:17:04 2018 +0300
+++ b/etherlab/etherlab.py	Sat Sep 29 16:19:15 2018 +0300
@@ -11,10 +11,10 @@
 
 import os
 import shutil
+import csv
 from lxml import etree
 
 import wx
-import csv
 
 from xmlclass import *