diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-06-17 14:47:47 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-23 11:47:36 +0100 |
commit | a4da21d92f461e85e90a866f4a1da34ba1c9551a (patch) | |
tree | 79bbf1c403f08487f4a4c29327fff0e0758dbf7b /scripts/lib/image/engine.py | |
parent | 4862a4c33a461d0f4dd75843d2f0a8b03a593b05 (diff) | |
download | poky-a4da21d92f461e85e90a866f4a1da34ba1c9551a.tar.gz |
wic: code cleanup: superfluous-parens
Removed unncecessary parents after 'if' 'del' and 'print' keywords.
Fixed pyling warning: Unnecessary parens after 'xxx' keyword
(From OE-Core rev: a64604d11f75973b4c2347fa2669da9889e44013)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/image/engine.py')
-rw-r--r-- | scripts/lib/image/engine.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/image/engine.py b/scripts/lib/image/engine.py index 05c26386e7..c568d695df 100644 --- a/scripts/lib/image/engine.py +++ b/scripts/lib/image/engine.py | |||
@@ -70,13 +70,13 @@ def find_artifacts(image_name): | |||
70 | rootfs_dir = kernel_dir = bootimg_dir = native_sysroot = "" | 70 | rootfs_dir = kernel_dir = bootimg_dir = native_sysroot = "" |
71 | 71 | ||
72 | for line in bitbake_env_lines.split('\n'): | 72 | for line in bitbake_env_lines.split('\n'): |
73 | if (misc.get_line_val(line, "IMAGE_ROOTFS")): | 73 | if misc.get_line_val(line, "IMAGE_ROOTFS"): |
74 | rootfs_dir = misc.get_line_val(line, "IMAGE_ROOTFS") | 74 | rootfs_dir = misc.get_line_val(line, "IMAGE_ROOTFS") |
75 | continue | 75 | continue |
76 | if (misc.get_line_val(line, "DEPLOY_DIR_IMAGE")): | 76 | if misc.get_line_val(line, "DEPLOY_DIR_IMAGE"): |
77 | kernel_dir = misc.get_line_val(line, "DEPLOY_DIR_IMAGE") | 77 | kernel_dir = misc.get_line_val(line, "DEPLOY_DIR_IMAGE") |
78 | continue | 78 | continue |
79 | if (misc.get_line_val(line, "STAGING_DIR_NATIVE")): | 79 | if misc.get_line_val(line, "STAGING_DIR_NATIVE"): |
80 | native_sysroot = misc.get_line_val(line, "STAGING_DIR_NATIVE") | 80 | native_sysroot = misc.get_line_val(line, "STAGING_DIR_NATIVE") |
81 | continue | 81 | continue |
82 | 82 | ||