diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-08 20:51:31 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 20:06:33 -0800 |
commit | 178df49cf1674bfcf1cb7295d0494c3b23929d22 (patch) | |
tree | 68f9bac82d890ee9661cea7f24146cbf0f63e7cd | |
parent | 702772edc839c220140ac0572bb14b4e44c81c1c (diff) | |
download | openembedded-core-178df49cf1674bfcf1cb7295d0494c3b23929d22.tar.gz openembedded-core-178df49cf1674bfcf1cb7295d0494c3b23929d22.tar.bz2 openembedded-core-178df49cf1674bfcf1cb7295d0494c3b23929d22.zip |
wic: direct: remove unused plugin attributes
Removed unused _disks, _disk_format and _disk_names
attributes from DirectPlugin class.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | scripts/lib/wic/plugins/imager/direct.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py index 663655a03c..7d6c59ae58 100644 --- a/scripts/lib/wic/plugins/imager/direct.py +++ b/scripts/lib/wic/plugins/imager/direct.py @@ -90,9 +90,6 @@ class DirectPlugin(ImagerPlugin): strftime("%Y%m%d%H%M")) self.workdir = tempfile.mkdtemp(dir=self.outdir, prefix='tmp.wic.') self._image = None - self._disks = {} - self._disk_format = "direct" - self._disk_names = [] self.ptable_format = self.ks.bootloader.ptable self.parts = self.ks.partitions @@ -249,7 +246,6 @@ class DirectPlugin(ImagerPlugin): msger.debug("Adding disk %s as %s with size %s bytes" \ % (disk_name, full_path, disk['min_size'])) disk_obj = DiskImage(full_path, disk['min_size']) - #self._disks[disk_name] = disk_obj self._image.add_disk(disk_name, disk_obj, disk_ids.get(disk_name)) self._image.create() |