[dts] [PATCH V1 1/3] framework/dts: optimize code
Haiyang Zhao
haiyangx.zhao at intel.com
Wed Nov 4 10:21:06 CET 2020
*.save rx_mode with lower case.
Signed-off-by: Haiyang Zhao <haiyangx.zhao at intel.com>
---
framework/dts.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/dts.py b/framework/dts.py
index e4cc53f..8a3790e 100644
--- a/framework/dts.py
+++ b/framework/dts.py
@@ -160,7 +160,7 @@ def dts_parse_config(config, section):
test_suites = [suite.strip()
for suite in config.get(section, 'test_suites').split(',')]
try:
- rx_mode = config.get(section, 'rx_mode').strip()
+ rx_mode = config.get(section, 'rx_mode').strip().lower()
except:
rx_mode = 'default'
--
2.17.1
More information about the dts
mailing list