[Libvirt-cim] [PATCH] [TEST] Fix to stick to 80 columns rule in two lines

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Tue Jan 13 06:59:38 UTC 2009


You need to do these changes on top of "#2 Update    
RASD-05_disk_rasd_emu_type.py    to support Xen,  skip adding CDROM 
devices while emu_type=1"
or else kaitlin needs to add this before she applies "#2 Update    
RASD-05_disk_rasd_emu_type.py    to support Xen,  skip adding CDROM 
devices while emu_type=1" patch to the tree.

+1 for these changes.

yunguol at cn.ibm.com wrote:
> # HG changeset patch
> # User Guolian Yun <yunguol at cn.ibm.com>
> # Date 1231828694 28800
> # Node ID 0c7c27ad9c6db00d9f6d0ac6b8249b05093aea74
> # Parent  43bf01b82ce9f627af1b5db55922b0584cd0e3b4
> [TEST] Fix to stick to 80 columns rule in two lines
>
> Signed-off-by: Guolian Yun<yunguol at cn.ibm.com>
>
> diff -r 43bf01b82ce9 -r 0c7c27ad9c6d suites/libvirt-cim/cimtest/RASD/05_disk_rasd_emu_type.py
> --- a/suites/libvirt-cim/cimtest/RASD/05_disk_rasd_emu_type.py	Mon Jan 12 08:22:47 2009 -0800
> +++ b/suites/libvirt-cim/cimtest/RASD/05_disk_rasd_emu_type.py	Mon Jan 12 22:38:14 2009 -0800
> @@ -52,12 +52,13 @@
>                  logger.error("Failed to call DefineSystem()")
>                  return FAIL
>      
> -            drasd= get_typed_class(options.virt,'DiskResourceAllocationSettingData')
> +            drasd= get_typed_class(options.virt,
> +                                   'DiskResourceAllocationSettingData')
>          
>              drasd_list = EnumInstances(options.ip, drasd, ret_cim_inst=True)
>              if len(drasd_list) < 1:
> -                raise Exception("%s returned %i instances, expected at least 1" \
> -                                 %(drasd, len(drasd_list)))
> +                raise Exception("%s returned %i instances, expected at least 1"\
> +                                %(drasd, len(drasd_list)))
>
>              found_rasd = None
>              for rasd in drasd_list:
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
>   

-- 
Thanks and Regards,
Deepti B. Kalakeri
IBM Linux Technology Center
deeptik at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list