diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-04-15 23:47:10 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-24 11:05:57 +0100 |
commit | 13416c1941f5dc8abcdb0073f2104a89eae2d6f1 (patch) | |
tree | f7851e14e0bacf210bcf676e20bbd9a4b6ea2dad /scripts/lib/wic/plugins/source/bootimg-pcbios.py | |
parent | db0903ad89dcb655c0eec5ac6dce96aae26533da (diff) | |
download | openembedded-core-13416c1941f5dc8abcdb0073f2104a89eae2d6f1.tar.gz openembedded-core-13416c1941f5dc8abcdb0073f2104a89eae2d6f1.tar.bz2 openembedded-core-13416c1941f5dc8abcdb0073f2104a89eae2d6f1.zip |
wic: code cleanup: wildcard imports
Here is what PEP8(Style Guide for Python Code) says about this:
Wildcard imports (from <module> import *) should be avoided, as they
make it unclear which names are present in the namespace, confusing
both readers and many automated tools.
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 | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py index 2280867308..9c638554c0 100644 --- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py +++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py @@ -28,13 +28,10 @@ import os from wic.utils.errors import ImageError from wic import kickstart, msger -from wic.utils import misc, fs_related, errors, runner, cmdln -from wic.conf import configmgr -from wic.plugin import pluginmgr -import wic.imager.direct as direct +from wic.utils import runner from wic.pluginbase import SourcePlugin -from wic.utils.oe.misc import * -from wic.imager.direct import DirectImageCreator +from wic.utils.oe.misc import exec_cmd, exec_native_cmd, \ + get_bitbake_var, BOOTDD_EXTRA_SPACE class BootimgPcbiosPlugin(SourcePlugin): name = 'bootimg-pcbios' |