[vbox-dev] Minor Patch: VirtualBox_wrappers.py in the 'sdk'

Amit k. Saha amitsaha.in at gmail.com
Thu Jan 29 12:58:04 GMT 2009


Hello,


On Thu, Jan 29, 2009 at 6:23 PM, Nikolay Igotti <Nikolay.Igotti at sun.com> wrote:
>    Hi Amit,
>
>  Could you please explain, what this patch is intended to do?
> Code this patch aims to remove is the way constants implemented, so that
> one can say  DataFlags.Expert.

These lines appear just below:


   _NameMap={0x00:'None',0x01:'Mandatory',0x02:'Expert',0x04:'Array',0x07:'FlagMask'}
   _ValueMap={
              'None':0x00,
              'Mandatory':0x01,
              'Expert':0x02,
              'Array':0x04,
              'FlagMask':0x07}

as a orphan piece of code, serving no purpose but preventing the
execution of the file.

-Amit


>
>  Thanks,
>    Nikolay
>
> Amit k. Saha wrote:
>> Hello,
>>
>> A minor patch for the 'VirtualBox_wrappers.py' in
>> 'bindings/webservice/python/lib' file:
>>
>> 7418,7423c7418
>> <    None=0x00
>> <    Mandatory=0x01
>> <    Expert=0x02
>> <    Array=0x04
>> <    FlagMask=0x07
>> <
>>
>>
>> This is with the SDK 2.1.2 and I can;t check the current status, as I
>> can't seem to find the SDK sources in the repository.
>>
>>
>> Thanks!
>> -Amit
>>
>>
>
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>



-- 
Amit Kumar Saha
http://amitksaha.blogspot.com
http://amitsaha.in.googlepages.com/
*Bangalore Open Java Users Group*:http:www.bojug.in




More information about the vbox-dev mailing list