]> code.ossystems Code Review - openembedded-core.git/commit
wic: direct: move creation of PartitionedImage to __init__
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 10 Feb 2017 14:44:03 +0000 (16:44 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Feb 2017 04:06:35 +0000 (20:06 -0800)
commit9f225ef5620f2e47e762b2fd16fa5f8d6f1f60fd
treeec82009d9915cc340105625903c929510910b102
parentdbd58b0b32288821d9dd5d1a3118cf7c6e8f098a
wic: direct: move creation of PartitionedImage to __init__

Moved creation of PartitionedImage object from DirectPlugin.create
method to init. It makes the code a bit more readable and logical.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
scripts/lib/wic/plugins/imager/direct.py