[PATCH 3/5] Convert ContainerDevice to an abstract base class.
Brian C. Lane
bcl at redhat.com
Sat Mar 29 00:31:22 UTC 2014
On Mon, Mar 24, 2014 at 01:50:50PM -0500, David Lehman wrote:
> _type = "lvmvg"
> _packages = ["lvm2"]
> - _formatClassName = "lvmpv"
> - _formatUUIDAttr = "vgUuid"
> + _formatClassName = property(lambda s: "lvmpv")
> + _formatUUIDAttr = property(lambda s: "vgUuid")
Why create these like this? Is it a abc thing? And if so, why not _type
too?
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the anaconda-patches
mailing list