[dts] [PATCH V1] fix start error in dts
Liu, Yong
yong.liu at intel.com
Thu Sep 29 07:15:26 CEST 2016
Thanks, applied.
On 09/29/2016 09:52 AM, xu,gang wrote:
> 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
More information about the dts
mailing list