From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 3536E282 for ; Tue, 27 Jan 2015 01:39:07 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 26 Jan 2015 16:39:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,471,1418112000"; d="scan'208";a="676303746" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga002.jf.intel.com with ESMTP; 26 Jan 2015 16:39:05 -0800 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t0R0d2YT017293; Tue, 27 Jan 2015 08:39:02 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t0R0d087025899; Tue, 27 Jan 2015 08:39:02 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t0R0cxKh025893; Tue, 27 Jan 2015 08:38:59 +0800 From: Yong Liu To: dts@dpdk.org Date: Tue, 27 Jan 2015 08:38:57 +0800 Message-Id: <1422319137-25506-1-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dts] [PATCH] framework: fix not convert port numa to int X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2015 00:39:09 -0000 Signed-off-by: Marvinliu --- 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