[Libvirt-cim] [PATCH 3 of 3] [TEST] #2 Add VirtualSystemManagementService - 14_define_sys_disk.py

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Fri Oct 17 19:15:11 UTC 2008


>> +
>> +    rasds = get_default_rasds(ip, virt)
>> +
>> +    for i in range(0, len(rasds)):
>>   
> I think we had discussed this to be "for i in range(len(rasds))" :)
> For now we can leave this as it is.

Yes, sorry about that. You did mention it in your other review, but I 
forgot.

>> +        if rasds[i]['PoolID'].find('DiskPool') >= 0:
>>   
> This can be "if 'DiskPool' in rasds[i]['PoolID']" as an alternative.
> But the above what you have also serves our purpose.
> +1 for me for the changes.

Your way is cleaner.  I'll apply this set and then follow up with a 
patch to fix these items.

Thanks!

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list