+1 from me.

Best,
Regards

Daisy (Ô˹úÁ«)
VSM Team, China Systems & Technology Labs (CSTL)
E-mail: yunguol@cn.ibm.com
TEL: (86)-21-60922403
Building 10, 399 Ke Yuan Rd, Pudong Shanghai, 201203


libvirt-cim-bounces@redhat.com wrote on 2008-10-22 06:05:55:

> # HG changeset patch
> # User Kaitlin Rupert <karupert@us.ibm.com>
> # Date 1224626746 25200
> # Node ID 664c2fc4c52c63c5505a19c59fdc6e94c7135191
> # Parent  ede6419d3a506b7cb67bbb91e2d80f2010a0bc3c
> [TEST] Clean up minor test issues with VSMS 14_define_sys_disk.py
>
> Signed-off-by: Kaitlin Rupert <karupert@us.ibm.com>
>
> diff -r ede6419d3a50 -r 664c2fc4c52c suites/libvirt-
> cim/cimtest/VirtualSystemManagementService/14_define_sys_disk.py
> --- a/suites/libvirt-
> cim/cimtest/VirtualSystemManagementService/14_define_sys_disk.py  
> Tue Oct 21 03:51:14 2008 -0700
> +++ b/suites/libvirt-
> cim/cimtest/VirtualSystemManagementService/14_define_sys_disk.py  
> Tue Oct 21 15:05:46 2008 -0700
> @@ -53,8 +53,8 @@
>  
>      rasds = get_default_rasds(ip, virt)
>  
> -    for i in range(0, len(rasds)):
> -        if rasds[i]['PoolID'].find('DiskPool') >= 0:
> +    for i in range(len(rasds)):
> +        if 'DiskPool' in rasds[i]['PoolID']:
>              rasds[i]['Address'] = addr
>          rasds[i] = inst_to_mof(rasds[i])
>  
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim@redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim