[dts] [PATCH V1] fix start error in dts
xu,gang
gangx.xu at intel.com
Thu Sep 29 03:52:19 CEST 2016
it's in settings don't need to reference
Signed-off-by: xu,gang <gangx.xu at intel.com>
---
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
More information about the dts
mailing list