On 21.03.2013 [11:33:20 -0500], Julius Gawlas wrote:
> In cases when SUT does not have valid profile or is not on
> install server we properly mark available profile as N/A, but in
> that case we should not attempt to install with N/A.
> 
> Signed-off-by: Julius Gawlas <[email protected]>

Good catch,

Acked-by: Nishanth Aravamudan <[email protected]>

> ---
>  server/hosts/remote.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/server/hosts/remote.py b/server/hosts/remote.py
> index 26db100..fbe63ba 100644
> --- a/server/hosts/remote.py
> +++ b/server/hosts/remote.py
> @@ -87,7 +87,7 @@ class RemoteHost(base_classes.Host):
>          if install_server_is_configured():
>              if not profile:
>                  profile = self.profile
> -            if profile == 'Do_not_install':
> +            if profile in ['Do_not_install', 'N/A']:
>                  return
>              num_attempts = int(server_info.get('num_attempts', 2))
>              ServerInterface = 
> self.INSTALL_SERVER_MAPPING[server_info['type']]
> -- 
> 1.7.7.6
> 
> _______________________________________________
> Autotest-kernel mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/autotest-kernel
> 

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to