Re: PATCH: Stop overriding __init__ in DMRaidPartitionDevice

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

 



> We were overriding __init__ in DMRaidPartitionDevice only to pass
> everything through to our supers __init__. Lately we've been doing a bad
> job at this as we forget to pass through grow and maxSize causing troubles.
>
> Since all we want to do is pass everything through just not overriding __init__
> to begin with is the by far the best fix.

Looks good to me too.  Another possibility for the future is adding
*args, **kwargs and passing those along to the superclass.  You know,
depending on if we end up needing just one of those arguments or
something.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux