summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/utils/partitionedfs.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-04-15 23:47:10 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-24 11:06:55 +0100
commitf2a0a985236af116a84cc62a4f7e1d4707aea6e9 (patch)
tree781ff0e7990d38b314d9bea34a02abf085ff453d /scripts/lib/wic/utils/partitionedfs.py
parent1d0c3387e8881a7a372ee38c0944540ce2ac8bc5 (diff)
downloadpoky-f2a0a985236af116a84cc62a4f7e1d4707aea6e9.tar.gz
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. (From OE-Core rev: 13416c1941f5dc8abcdb0073f2104a89eae2d6f1) 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/utils/partitionedfs.py')
-rw-r--r--scripts/lib/wic/utils/partitionedfs.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/lib/wic/utils/partitionedfs.py b/scripts/lib/wic/utils/partitionedfs.py
index 40d6e889b0..1c9e3eab58 100644
--- a/scripts/lib/wic/utils/partitionedfs.py
+++ b/scripts/lib/wic/utils/partitionedfs.py
@@ -19,10 +19,8 @@
19# Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 20
21from wic import msger 21from wic import msger
22from wic.utils import runner
23from wic.utils.errors import ImageError 22from wic.utils.errors import ImageError
24from wic.utils.fs_related import * 23from wic.utils.oe.misc import exec_cmd, exec_native_cmd
25from wic.utils.oe.misc import *
26 24
27# Overhead of the MBR partitioning scheme (just one sector) 25# Overhead of the MBR partitioning scheme (just one sector)
28MBR_OVERHEAD = 1 26MBR_OVERHEAD = 1