From 975d919a0f81b06a5e9f99096e92e34e7fbf4b90 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Wed, 2 Sep 2015 13:58:09 +0300 Subject: wic: get rid of wildcard imports Used explicit imports in partitions.py and wicboot.py Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- 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 6defc9903f..bac2067a5a 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 eefd574880..0230df2f4b 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 # - -from pykickstart.base import * -from pykickstart.errors import * -from pykickstart.options import * from pykickstart.commands.bootloader import F8_Bootloader class Wic_Bootloader(F8_Bootloader): -- cgit v1.2.3