diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-09-02 13:58:09 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-03 12:43:28 +0100 |
commit | 0fc551edb633c1a88feea8f1b0330a86f3d910d2 (patch) | |
tree | 48a5dc8df98290502b7b7a9663f037dcdc3c64c3 /scripts/lib/wic | |
parent | c9876833a473817599656f5ec4cfd48b65e73394 (diff) | |
download | poky-0fc551edb633c1a88feea8f1b0330a86f3d910d2.tar.gz |
wic: get rid of wildcard imports
Used explicit imports in partitions.py and wicboot.py
(From OE-Core rev: 975d919a0f81b06a5e9f99096e92e34e7fbf4b90)
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')
-rw-r--r-- | scripts/lib/wic/kickstart/custom_commands/partition.py | 3 | ||||
-rw-r--r-- | 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 | |||
30 | from optparse import OptionValueError | 30 | from optparse import OptionValueError |
31 | 31 | ||
32 | from pykickstart.commands.partition import FC4_PartData, FC4_Partition | 32 | from pykickstart.commands.partition import FC4_PartData, FC4_Partition |
33 | from wic.utils.oe.misc import * | 33 | from wic.utils.oe.misc import msger, parse_sourceparams |
34 | from wic.utils.oe.misc import exec_cmd, exec_native_cmd | ||
34 | from wic.plugin import pluginmgr | 35 | from wic.plugin import pluginmgr |
35 | 36 | ||
36 | partition_methods = { | 37 | 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 @@ | |||
23 | # AUTHORS | 23 | # AUTHORS |
24 | # Tom Zanussi <tom.zanussi (at] linux.intel.com> | 24 | # Tom Zanussi <tom.zanussi (at] linux.intel.com> |
25 | # | 25 | # |
26 | |||
27 | from pykickstart.base import * | ||
28 | from pykickstart.errors import * | ||
29 | from pykickstart.options import * | ||
30 | from pykickstart.commands.bootloader import F8_Bootloader | 26 | from pykickstart.commands.bootloader import F8_Bootloader |
31 | 27 | ||
32 | class Wic_Bootloader(F8_Bootloader): | 28 | class Wic_Bootloader(F8_Bootloader): |