diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-01-31 19:31:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-02 17:37:44 +0000 |
commit | 653aaea3ccd4b671a6753bc9aecceb08f9eb0e41 (patch) | |
tree | 0eb9d944309e79eae732c76eb483533625aec22f /scripts/lib/wic/plugins/source/bootimg-pcbios.py | |
parent | 1f7ce90af6e2e3ae23e11eae85d13f7c93b032cd (diff) | |
download | poky-653aaea3ccd4b671a6753bc9aecceb08f9eb0e41.tar.gz |
wic: code cleanup
Fixed indentation, unused imports, trailing lines etc.
[YOCTO #10619]
(From OE-Core rev: 5fa7768bfb4b6d464c6a812822b0665f52e7bea4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins/source/bootimg-pcbios.py')
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-pcbios.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py index d796433d1d..4b9b26552a 100644 --- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py +++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py | |||
@@ -198,7 +198,5 @@ class BootimgPcbiosPlugin(SourcePlugin): | |||
198 | out = exec_cmd(du_cmd) | 198 | out = exec_cmd(du_cmd) |
199 | bootimg_size = out.split()[0] | 199 | bootimg_size = out.split()[0] |
200 | 200 | ||
201 | part.size = int(out.split()[0]) | 201 | part.size = int(bootimg_size) |
202 | part.source_file = bootimg | 202 | part.source_file = bootimg |
203 | |||
204 | |||