clean etherlab: pep8, E301 expected 2 blank lines, found 1
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Sat, 29 Sep 2018 15:38:49 +0300
changeset 2387 5cf1d70b5395
parent 2386 d00f1430d57a
child 2388 13acfd8d33e6
clean etherlab: pep8, E301 expected 2 blank lines, found 1
etherlab/etherlab.py
--- a/etherlab/etherlab.py	Sat Sep 29 15:35:22 2018 +0300
+++ b/etherlab/etherlab.py	Sat Sep 29 15:38:49 2018 +0300
@@ -89,6 +89,7 @@
 if cls:
 
     profile_numbers_xpath = EtherCATInfo_XPath("Profile/ProfileNo")
+
     def GetProfileNumbers(self):
         return [number.text for number in profile_numbers_xpath(self)]
     setattr(cls, "GetProfileNumbers", GetProfileNumbers)
@@ -209,6 +210,7 @@
 
     groups_xpath = EtherCATInfo_XPath("Descriptions/Groups/Group")
     devices_xpath = EtherCATInfo_XPath("Descriptions/Devices/Device")
+
     def LoadModules(self):
         self.Library = {}