[OE-core] [PATCH 09/17] wic: get rid of wildcard imports
Ed Bartosh
ed.bartosh at linux.intel.com
Wed Sep 2 10:58:09 UTC 2015
Used explicit imports in partitions.py and wicboot.py
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
scripts/lib/wic/kickstart/custom_commands/partition.py | 3 ++-
scripts/lib/wic/kickstart/custom_commands/wicboot.py | 4 ----
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/scripts/lib/wic/kickstart/custom_commands/partition.py b/scripts/lib/wic/kickstart/custom_commands/partition.py
index 6defc99..bac2067 100644
--- a/scripts/lib/wic/kickstart/custom_commands/partition.py
+++ b/scripts/lib/wic/kickstart/custom_commands/partition.py
@@ -30,7 +30,8 @@ import uuid
from optparse import OptionValueError
from pykickstart.commands.partition import FC4_PartData, FC4_Partition
-from wic.utils.oe.misc import *
+from wic.utils.oe.misc import msger, parse_sourceparams
+from wic.utils.oe.misc import exec_cmd, exec_native_cmd
from wic.plugin import pluginmgr
partition_methods = {
diff --git a/scripts/lib/wic/kickstart/custom_commands/wicboot.py b/scripts/lib/wic/kickstart/custom_commands/wicboot.py
index eefd574..0230df2 100644
--- a/scripts/lib/wic/kickstart/custom_commands/wicboot.py
+++ b/scripts/lib/wic/kickstart/custom_commands/wicboot.py
@@ -23,10 +23,6 @@
# AUTHORS
# Tom Zanussi <tom.zanussi (at] linux.intel.com>
#
-
-from pykickstart.base import *
-from pykickstart.errors import *
-from pykickstart.options import *
from pykickstart.commands.bootloader import F8_Bootloader
class Wic_Bootloader(F8_Bootloader):
--
2.1.4
More information about the Openembedded-core
mailing list