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:06:55 +0100 |
commit | f2a0a985236af116a84cc62a4f7e1d4707aea6e9 (patch) | |
tree | 781ff0e7990d38b314d9bea34a02abf085ff453d /scripts/lib/wic/utils/fs_related.py | |
parent | 1d0c3387e8881a7a372ee38c0944540ce2ac8bc5 (diff) | |
download | poky-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/fs_related.py')
-rw-r--r-- | scripts/lib/wic/utils/fs_related.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/lib/wic/utils/fs_related.py b/scripts/lib/wic/utils/fs_related.py index fb9054d568..2e74461a40 100644 --- a/scripts/lib/wic/utils/fs_related.py +++ b/scripts/lib/wic/utils/fs_related.py | |||
@@ -20,10 +20,7 @@ from __future__ import with_statement | |||
20 | import os | 20 | import os |
21 | import errno | 21 | import errno |
22 | 22 | ||
23 | from wic import msger | 23 | from wic.utils.oe.misc import exec_cmd |
24 | from wic.utils import runner | ||
25 | from wic.utils.errors import * | ||
26 | from wic.utils.oe.misc import * | ||
27 | 24 | ||
28 | def makedirs(dirname): | 25 | def makedirs(dirname): |
29 | """A version of os.makedirs() that doesn't throw an | 26 | """A version of os.makedirs() that doesn't throw an |