[PATCH 3/3] Create and use snapshot of on-disk storage with no modifications

Brian C. Lane bcl at redhat.com
Mon Jun 29 23:48:11 UTC 2015


On Fri, Jun 26, 2015 at 11:39:07AM +0200, Vratislav Podzimek wrote:
> +        disks = [d for d in self.disks if d.name in self.selected_disks]

I think this ^^^^ could be a generator. :)

> +        disks_size = sum((d.size for d in disks), Size(0))
> +

Ack to all of these.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list