diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-04-07 14:51:51 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-08 23:11:07 +0100 |
commit | dfde8bdae3ae151ffed5777b920d24c774e5da2c (patch) | |
tree | 174e04bdb606c1bff2e4e3bc57b26f5587ba6b9f | |
parent | ee71acc6f114f992a2edc9a3f557a731795aa076 (diff) | |
download | openembedded-core-dfde8bdae3ae151ffed5777b920d24c774e5da2c.tar.gz openembedded-core-dfde8bdae3ae151ffed5777b920d24c774e5da2c.tar.bz2 openembedded-core-dfde8bdae3ae151ffed5777b920d24c774e5da2c.zip |
wic: code cleanup: unused imports
Fixed pylint warning 'Unused import'
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | scripts/lib/wic/conf.py | 3 | ||||
-rw-r--r-- | scripts/lib/wic/creator.py | 2 | ||||
-rw-r--r-- | scripts/lib/wic/imager/baseimager.py | 2 | ||||
-rw-r--r-- | scripts/lib/wic/imager/direct.py | 1 | ||||
-rw-r--r-- | scripts/lib/wic/kickstart/custom_commands/partition.py | 1 | ||||
-rw-r--r-- | scripts/lib/wic/pluginbase.py | 2 | ||||
-rw-r--r-- | scripts/lib/wic/plugins/imager/direct_plugin.py | 5 | ||||
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-efi.py | 2 | ||||
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-pcbios.py | 3 | ||||
-rw-r--r-- | scripts/lib/wic/plugins/source/fsimage.py | 1 | ||||
-rw-r--r-- | scripts/lib/wic/plugins/source/rawcopy.py | 1 | ||||
-rw-r--r-- | scripts/lib/wic/plugins/source/rootfs.py | 3 | ||||
-rw-r--r-- | scripts/lib/wic/utils/fs_related.py | 6 | ||||
-rw-r--r-- | scripts/lib/wic/utils/misc.py | 1 | ||||
-rw-r--r-- | scripts/lib/wic/utils/partitionedfs.py | 2 |
15 files changed, 3 insertions, 32 deletions
diff --git a/scripts/lib/wic/conf.py b/scripts/lib/wic/conf.py index be34355ce4..ff6e2ca0f0 100644 --- a/scripts/lib/wic/conf.py +++ b/scripts/lib/wic/conf.py @@ -15,8 +15,7 @@ # with this program; if not, write to the Free Software Foundation, Inc., 59 # Temple Place - Suite 330, Boston, MA 02111-1307, USA. -import os, sys, re -import ConfigParser +import os from wic import msger from wic import kickstart diff --git a/scripts/lib/wic/creator.py b/scripts/lib/wic/creator.py index 2219377b38..760848f320 100644 --- a/scripts/lib/wic/creator.py +++ b/scripts/lib/wic/creator.py @@ -15,7 +15,7 @@ # with this program; if not, write to the Free Software Foundation, Inc., 59 # Temple Place - Suite 330, Boston, MA 02111-1307, USA. -import os, sys, re +import os, sys from optparse import SUPPRESS_HELP from wic import msger diff --git a/scripts/lib/wic/imager/baseimager.py b/scripts/lib/wic/imager/baseimager.py index e8305272a2..2075358bdc 100644 --- a/scripts/lib/wic/imager/baseimager.py +++ b/scripts/lib/wic/imager/baseimager.py @@ -17,7 +17,7 @@ # Temple Place - Suite 330, Boston, MA 02111-1307, USA. from __future__ import with_statement -import os, sys +import os import tempfile import shutil diff --git a/scripts/lib/wic/imager/direct.py b/scripts/lib/wic/imager/direct.py index d368401af4..b236c7a7d0 100644 --- a/scripts/lib/wic/imager/direct.py +++ b/scripts/lib/wic/imager/direct.py @@ -25,7 +25,6 @@ # import os -import stat import shutil from wic import kickstart, msger diff --git a/scripts/lib/wic/kickstart/custom_commands/partition.py b/scripts/lib/wic/kickstart/custom_commands/partition.py index f3d553b885..ff906010b8 100644 --- a/scripts/lib/wic/kickstart/custom_commands/partition.py +++ b/scripts/lib/wic/kickstart/custom_commands/partition.py @@ -24,7 +24,6 @@ # Tom Zanussi <tom.zanussi (at] linux.intel.com> # -import shutil import os import tempfile diff --git a/scripts/lib/wic/pluginbase.py b/scripts/lib/wic/pluginbase.py index e3de9bacb8..72bcad2b7a 100644 --- a/scripts/lib/wic/pluginbase.py +++ b/scripts/lib/wic/pluginbase.py @@ -15,8 +15,6 @@ # with this program; if not, write to the Free Software Foundation, Inc., 59 # Temple Place - Suite 330, Boston, MA 02111-1307, USA. -import os -import shutil from wic import msger from wic.utils import errors diff --git a/scripts/lib/wic/plugins/imager/direct_plugin.py b/scripts/lib/wic/plugins/imager/direct_plugin.py index 5601c3f1c9..17888e971c 100644 --- a/scripts/lib/wic/plugins/imager/direct_plugin.py +++ b/scripts/lib/wic/plugins/imager/direct_plugin.py @@ -24,11 +24,6 @@ # Tom Zanussi <tom.zanussi (at] linux.intel.com> # -import os -import shutil -import re -import tempfile - from wic import msger from wic.utils import misc, fs_related, errors, runner, cmdln from wic.conf import configmgr diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py b/scripts/lib/wic/plugins/source/bootimg-efi.py index ee57881e90..d6c11ed428 100644 --- a/scripts/lib/wic/plugins/source/bootimg-efi.py +++ b/scripts/lib/wic/plugins/source/bootimg-efi.py @@ -26,8 +26,6 @@ import os import shutil -import re -import tempfile from wic import kickstart, msger from wic.utils import misc, fs_related, errors, runner, cmdln diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py index c4786a6e0e..abb32ebc10 100644 --- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py +++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py @@ -25,9 +25,6 @@ # import os -import shutil -import re -import tempfile from wic import kickstart, msger from wic.utils import misc, fs_related, errors, runner, cmdln diff --git a/scripts/lib/wic/plugins/source/fsimage.py b/scripts/lib/wic/plugins/source/fsimage.py index 0967883afa..4a090bac42 100644 --- a/scripts/lib/wic/plugins/source/fsimage.py +++ b/scripts/lib/wic/plugins/source/fsimage.py @@ -16,7 +16,6 @@ # import os -import re from wic import msger from wic.pluginbase import SourcePlugin diff --git a/scripts/lib/wic/plugins/source/rawcopy.py b/scripts/lib/wic/plugins/source/rawcopy.py index cf6236a04f..6bdd9b21ce 100644 --- a/scripts/lib/wic/plugins/source/rawcopy.py +++ b/scripts/lib/wic/plugins/source/rawcopy.py @@ -16,7 +16,6 @@ # import os -import re from wic import msger from wic.pluginbase import SourcePlugin diff --git a/scripts/lib/wic/plugins/source/rootfs.py b/scripts/lib/wic/plugins/source/rootfs.py index a432a18705..6f5d9bb19f 100644 --- a/scripts/lib/wic/plugins/source/rootfs.py +++ b/scripts/lib/wic/plugins/source/rootfs.py @@ -26,9 +26,6 @@ # import os -import shutil -import re -import tempfile from wic import kickstart, msger from wic.utils import misc, fs_related, errors, runner, cmdln diff --git a/scripts/lib/wic/utils/fs_related.py b/scripts/lib/wic/utils/fs_related.py index ea9f85c60f..1e266b16c1 100644 --- a/scripts/lib/wic/utils/fs_related.py +++ b/scripts/lib/wic/utils/fs_related.py @@ -18,13 +18,7 @@ from __future__ import with_statement import os -import sys import errno -import stat -import random -import string -import time -import uuid from wic import msger from wic.utils import runner diff --git a/scripts/lib/wic/utils/misc.py b/scripts/lib/wic/utils/misc.py index 6e56316608..5d6337c9cf 100644 --- a/scripts/lib/wic/utils/misc.py +++ b/scripts/lib/wic/utils/misc.py @@ -16,7 +16,6 @@ # Temple Place - Suite 330, Boston, MA 02111-1307, USA. import os -import sys import time def build_name(kscfg, release=None, prefix = None, suffix = None): diff --git a/scripts/lib/wic/utils/partitionedfs.py b/scripts/lib/wic/utils/partitionedfs.py index 162f8e1b9c..2d74b6b67c 100644 --- a/scripts/lib/wic/utils/partitionedfs.py +++ b/scripts/lib/wic/utils/partitionedfs.py @@ -18,8 +18,6 @@ # with this program; if not, write to the Free Software Foundation, Inc., 59 # Temple Place - Suite 330, Boston, MA 02111-1307, USA. -import os - from wic import msger from wic.utils import runner from wic.utils.errors import ImageError |