[dts] [PATCH] framework: fix not convert port numa to int

Yong Liu yong.liu at intel.com
Tue Jan 27 01:38:57 CET 2015


Signed-off-by: Marvinliu <yong.liu at intel.com>
---
 framework/config.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/framework/config.py b/framework/config.py
index 140c84b..948609a 100755
--- a/framework/config.py
+++ b/framework/config.py
@@ -79,7 +79,10 @@ class UserConf():
 
         for param in port.split(','):
             (key, _, value) = param.partition('=')
-            portDict[key] = value
+            if key == 'numa':
+                portDict[key] = int(value)
+            else:
+                portDict[key] = value
         return portDict
 
 
-- 
1.9.3



More information about the dts mailing list