clean etherlab: pylint, W0104 # (pointless-statement) Statement seems to have no effect
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Sat, 29 Sep 2018 16:48:25 +0300
changeset 2399 a9a6dbc506e9
parent 2398 0ae721a79654
child 2400 7afecc27db95
clean etherlab: pylint, W0104 # (pointless-statement) Statement seems to have no effect
etherlab/EthercatMaster.py
--- a/etherlab/EthercatMaster.py	Sat Sep 29 16:46:41 2018 +0300
+++ b/etherlab/EthercatMaster.py	Sat Sep 29 16:48:25 2018 +0300
@@ -587,7 +587,6 @@
                 entry["children"] = []
                 if slave_pos is not None:
                     entry["Position"] = str(slave_pos)
-                entry
                 if index != current_index:
                     current_index = index
                     current_entry = entry