From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id F3F31F94 for ; Thu, 29 Sep 2016 03:50:46 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 28 Sep 2016 18:50:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,412,1470726000"; d="scan'208";a="1037903704" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 28 Sep 2016 18:50:44 -0700 From: "xu,gang" To: dts@dpdk.org Cc: "xu,gang" Date: Thu, 29 Sep 2016 09:52:19 +0800 Message-Id: <1475113939-31884-1-git-send-email-gangx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] fix start error in dts 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: Thu, 29 Sep 2016 01:50:47 -0000 it's in settings don't need to reference Signed-off-by: xu,gang --- framework/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/settings.py b/framework/settings.py index 0e18a15..1cfb6c1 100644 --- a/framework/settings.py +++ b/framework/settings.py @@ -275,14 +275,14 @@ def accepted_nic(pci_id): it is selected in the execution file, otherwise it returns False. """ nic = load_global_setting(HOST_NIC_SETTING) - if pci_id not in settings.NICS.values(): + if pci_id not in NICS.values(): return False if nic is 'any': return True else: - if pci_id == settings.NICS[nic]: + if pci_id == NICS[nic]: return True return False -- 1.9.3