# HG changeset patch
# User Andrey Skvortsov <andrej.skvortzov@gmail.com>
# Date 1538228801 -10800
# Node ID 0ae721a7965490b40899fa3038894608c5e52a5b
# Parent  25f16349644b6f084b97be6a3b7cebd6a2112263
clean etherlab: pylint, W0631          # (undefined-loop-variable) Using possibly undefined loop variable 'X'

diff -r 25f16349644b -r 0ae721a79654 etherlab/CommonEtherCATFunction.py
--- a/etherlab/CommonEtherCATFunction.py	Sat Sep 29 16:40:56 2018 +0300
+++ b/etherlab/CommonEtherCATFunction.py	Sat Sep 29 16:46:41 2018 +0300
@@ -330,7 +330,7 @@
             self.TxPDOCategory.append(categorys)
 
         # Parsing RxPDO entries
-        for pdo, pdo_info in ([(pdo, "Outputs") for pdo in device.getRxPdo()]):
+        for pdo, pdo_info in ([(rxpdo, "Outputs") for rxpdo in device.getRxPdo()]):
             # Save pdo_index, entry, and name of each entry
             pdo_index = ExtractHexDecValue(pdo.getIndex().getcontent())
             entries = pdo.getEntry()