[virt-tools-list] [PATCH virt-manager] cli: Fix __init_class__

Marc Hartmayer mhartmay at linux.ibm.com
Thu Jan 10 09:03:50 UTC 2019


On Wed, Jan 09, 2019 at 04:20 PM +0100, Cole Robinson <crobinso at redhat.com> wrote:
> On 01/09/2019 04:47 AM, Marc Hartmayer wrote:
>> On Wed, Jan 09, 2019 at 10:24 AM +0100, Marc Hartmayer <mhartmay at linux.ibm.com> wrote:
>>> For Python versions < 3.6 it's not possible for the metaclass to call
>>> a method in the defined class that uses super() before it is done with
>>> its __new__ and __init__. Therefore let's workaround this by using
>>> hard coded class names instead of super() in __init_class__. See
>>> https://stackoverflow.com/a/28605694 for more details.
>>>
>>> In addition, add missing __init_class__ calls to the __init_class__
>>> implementations of ParserVsock and _ParserChar.
>> 
>> Must be:
>> 
>> In addition, add missing __init_class__ call to the __init_class__
>> implementation of _ParserChar.
>> 
>
> Thanks, pushed with the tweaked commit message
>
> - Cole
>

Thanks.

-- 
Kind regards / Beste Grüße
   Marc Hartmayer

IBM Deutschland Research & Development GmbH
Vorsitzende des Aufsichtsrats: Matthias Hartmann
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294





More information about the virt-tools-list mailing list