> def build_vssd_info(ip, vssd):
> """
> Creating the vssd fileds lists that will be used for
comparisons.
> """
> - global vssd_names, vssd_values
>
> if vssd.Bootloader == "" or vssd.Caption == "" or \
> vssd.InstanceID == "" or vssd.ElementName == "" or \
> @@ -105,26 +101,17 @@
> test_domain_function(test_dom, ip, "undefine")
> sys.exit(status)
>
>
You can also update the status setting in build_vssd_info(ip, vssd)
function.
Below is the code detail to update:
- status = 1
test_domain_function(test_dom, ip, "undefine")
- sys.exit(status)
+ return FAIL
Excellent catch - thanks!
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com