Re: [PATCH virt-manager] cli: Fix __init_class__

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 09, 2019 at 04:20 PM +0100, Cole Robinson <crobinso@xxxxxxxxxx> wrote:
> On 01/09/2019 04:47 AM, Marc Hartmayer wrote:
>> On Wed, Jan 09, 2019 at 10:24 AM +0100, Marc Hartmayer <mhartmay@xxxxxxxxxxxxx> 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


_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux