apw at canonical.com
Tue Nov 14 16:02:07 UTC 2017
On Tue, Nov 14, 2017 at 07:40:30AM -0800, Brad Figg wrote:
> What do you think about defining a new class KernelSeries (for example)
> which consumes the new format directly? That class defines the new accessors.
> As we go through our existing code base it will be easy to see what remaining
> code still imports the old code. In the end, after everything has been
> converted over we simply delete ktl/ubuntu.py and move on.
Likely we could just put KernelSeries in ktl/ubuntu.py. As we almost
exclusivly 'from ktl.ubuntu import Ubuntu' and the new would be 'from
ktl.ubuntu import KernelSeries' sort of thing. But yes a new class
seems most sensible.
More information about the kernel-team