[Engine-devel] [ovirt-engine-sdk] some questions about the params.py code generated by generateSD

Michael Pasternak mpastern at redhat.com
Sun Jun 10 06:57:02 UTC 2012


On 06/08/2012 08:30 PM, ShaoHe Feng wrote:
> still a question.
> 
> I find  there are reduplicate items in _rootClassMap dictionary  of ./src/ovirtsdk/xml/params.py file.
> such as:
> 1.
> in line 18924
>                   "storage"                       : Storage,
> in line 18931
>                   "storage"                       : Storage,
> above items has same key and value.
> 
> 2.
> in line 18905
>                   "product_info"                  : ProductInfo,
> in line 18934
>                   "product_info"                  : ProductInfo,
> above items has same key and value.
> 
> 3.
>  in line 18953
>                     "vm_pause_details"              : VmPauseDetails,
>  in line 18962
>                     "vm_pause_detail"               : VmPauseDetails,
> 
> above items  has value but different key.
> 
> is it OK ? or should I commit  a patch to fix it?

should be single appearance of each element (it was handcrafted).

-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D



More information about the Engine-devel mailing list