[dts] [PATCH V1] tests/sriov_kvm:format fix

Xie Wei weix.xie at intel.com
Fri Jan 17 07:58:29 CET 2020


format problem

Signed-off-by: Xie Wei <weix.xie at intel.com>
---
 tests/TestSuite_sriov_kvm.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/TestSuite_sriov_kvm.py b/tests/TestSuite_sriov_kvm.py
index 109b72b..a8a2211 100644
--- a/tests/TestSuite_sriov_kvm.py
+++ b/tests/TestSuite_sriov_kvm.py
@@ -111,8 +111,7 @@ class TestSriovKvm(TestCase):
         try:
             dut_dest_port = dut_ports[dest_port]
         except Exception as e:
-            print()
-            e
+            print(e)
 
         # using api get_local_port() to get the correct tester port.
         tester_port = self.tester.get_local_port(dut_dest_port)
-- 
2.17.2



More information about the dts mailing list