-
Yuto KAWAMURA(kawamuray) authored
When we still don't have any os scripts installed, running gnt-os diagnose or gnt-os info foo(whatever) shows an error message "Can't get the OS list" even if the request has been succeeded. The OpOsDiagnose can return a blank list, so we should check whether the result is None. Signed-off-by: Yuto KAWAMURA(kawamuray) <kawamuray.dadada@gmail.com> Reviewed-by: Hrvoje Ribicic <riba@google.com>
d9ef8346