diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-01-31 03:54:41 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-02 17:37:34 +0000 |
commit | e78762a4b52c31357ef29a5b93c53db7190fa4f2 (patch) | |
tree | 575ef11e87f62b69f95a6ee546303fdd332afeab | |
parent | b87b9ef84791615636424a224f74386a4aa0c2fa (diff) | |
download | openembedded-core-e78762a4b52c31357ef29a5b93c53db7190fa4f2.tar.gz openembedded-core-e78762a4b52c31357ef29a5b93c53db7190fa4f2.tar.bz2 openembedded-core-e78762a4b52c31357ef29a5b93c53db7190fa4f2.zip |
wic: pylinted direct_plugin
Fixed wrong continued indentation, unused import and
trailing new line pyling warnings.
[YOCTO #10619]
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
-rw-r--r-- | scripts/lib/wic/plugins/imager/direct_plugin.py | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct_plugin.py b/scripts/lib/wic/plugins/imager/direct_plugin.py index 48588dbc55..1d0d3ff546 100644 --- a/scripts/lib/wic/plugins/imager/direct_plugin.py +++ b/scripts/lib/wic/plugins/imager/direct_plugin.py @@ -27,7 +27,6 @@ import os import shutil import uuid import tempfile -import time from time import strftime from os.path import basename, splitext @@ -307,19 +306,13 @@ class DirectImageCreator: self.bootimg_dir, self.kernel_dir, self.native_sysroot) - self._image.add_partition(part.disk_size, - part.disk, - part.mountpoint, - part.source_file, - part.fstype, - part.label, - fsopts=part.fsopts, - boot=part.active, - align=part.align, - no_table=part.no_table, - part_type=part.part_type, - uuid=part.uuid, - system_id=part.system_id) + self._image.add_partition(part.disk_size, part.disk, + part.mountpoint, part.source_file, + part.fstype, part.label, + fsopts=part.fsopts, boot=part.active, + align=part.align, no_table=part.no_table, + part_type=part.part_type, uuid=part.uuid, + system_id=part.system_id) if fstab_path: shutil.move(fstab_path + ".orig", fstab_path) @@ -443,4 +436,3 @@ class DirectImageCreator: # remove work directory shutil.rmtree(self.workdir, ignore_errors=True) - |