[dts] [PATCH 2/7] framework tester: fix typo issue

Marvin Liu yong.liu at intel.com
Thu Jul 14 15:17:28 CEST 2016


Signed-off-by: Marvin Liu <yong.liu at intel.com>

diff --git a/framework/tester.py b/framework/tester.py
index 2c39ac9..2781376 100644
--- a/framework/tester.py
+++ b/framework/tester.py
@@ -143,8 +143,8 @@ class Tester(Crb):
         Return tester local port connect to specified port and specified dut.
         """
         for dut in self.duts:
-            if dut.crb['My IP'] == dutIP:
-                return self.dut.ports_map[remotePort]
+            if dut.crb['My IP'] == dutIp:
+                return dut.ports_map[remotePort]
 
     def get_local_index(self, pci):
         """
-- 
1.9.3



More information about the dts mailing list