wic: code cleanup: unused imports

Fixed pylint warning 'Unused import'

(From OE-Core rev: dfde8bdae3ae151ffed5777b920d24c774e5da2c)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ed Bartosh
2015-04-07 14:51:51 +03:00
committed by Richard Purdie
parent ba9cde6924
commit dd6a1525ec
15 changed files with 3 additions and 32 deletions

View File

@@ -15,8 +15,7 @@
# with this program; if not, write to the Free Software Foundation, Inc., 59 # with this program; if not, write to the Free Software Foundation, Inc., 59
# Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Temple Place - Suite 330, Boston, MA 02111-1307, USA.
import os, sys, re import os
import ConfigParser
from wic import msger from wic import msger
from wic import kickstart from wic import kickstart

View File

@@ -15,7 +15,7 @@
# with this program; if not, write to the Free Software Foundation, Inc., 59 # with this program; if not, write to the Free Software Foundation, Inc., 59
# Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Temple Place - Suite 330, Boston, MA 02111-1307, USA.
import os, sys, re import os, sys
from optparse import SUPPRESS_HELP from optparse import SUPPRESS_HELP
from wic import msger from wic import msger

View File

@@ -17,7 +17,7 @@
# Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Temple Place - Suite 330, Boston, MA 02111-1307, USA.
from __future__ import with_statement from __future__ import with_statement
import os, sys import os
import tempfile import tempfile
import shutil import shutil

View File

@@ -25,7 +25,6 @@
# #
import os import os
import stat
import shutil import shutil
from wic import kickstart, msger from wic import kickstart, msger

View File

@@ -24,7 +24,6 @@
# Tom Zanussi <tom.zanussi (at] linux.intel.com> # Tom Zanussi <tom.zanussi (at] linux.intel.com>
# #
import shutil
import os import os
import tempfile import tempfile

View File

@@ -15,8 +15,6 @@
# with this program; if not, write to the Free Software Foundation, Inc., 59 # with this program; if not, write to the Free Software Foundation, Inc., 59
# Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Temple Place - Suite 330, Boston, MA 02111-1307, USA.
import os
import shutil
from wic import msger from wic import msger
from wic.utils import errors from wic.utils import errors

View File

@@ -24,11 +24,6 @@
# Tom Zanussi <tom.zanussi (at] linux.intel.com> # Tom Zanussi <tom.zanussi (at] linux.intel.com>
# #
import os
import shutil
import re
import tempfile
from wic import msger from wic import msger
from wic.utils import misc, fs_related, errors, runner, cmdln from wic.utils import misc, fs_related, errors, runner, cmdln
from wic.conf import configmgr from wic.conf import configmgr

View File

@@ -26,8 +26,6 @@
import os import os
import shutil import shutil
import re
import tempfile
from wic import kickstart, msger from wic import kickstart, msger
from wic.utils import misc, fs_related, errors, runner, cmdln from wic.utils import misc, fs_related, errors, runner, cmdln

View File

@@ -25,9 +25,6 @@
# #
import os import os
import shutil
import re
import tempfile
from wic import kickstart, msger from wic import kickstart, msger
from wic.utils import misc, fs_related, errors, runner, cmdln from wic.utils import misc, fs_related, errors, runner, cmdln

View File

@@ -16,7 +16,6 @@
# #
import os import os
import re
from wic import msger from wic import msger
from wic.pluginbase import SourcePlugin from wic.pluginbase import SourcePlugin

View File

@@ -16,7 +16,6 @@
# #
import os import os
import re
from wic import msger from wic import msger
from wic.pluginbase import SourcePlugin from wic.pluginbase import SourcePlugin

View File

@@ -26,9 +26,6 @@
# #
import os import os
import shutil
import re
import tempfile
from wic import kickstart, msger from wic import kickstart, msger
from wic.utils import misc, fs_related, errors, runner, cmdln from wic.utils import misc, fs_related, errors, runner, cmdln

View File

@@ -18,13 +18,7 @@
from __future__ import with_statement from __future__ import with_statement
import os import os
import sys
import errno import errno
import stat
import random
import string
import time
import uuid
from wic import msger from wic import msger
from wic.utils import runner from wic.utils import runner

View File

@@ -16,7 +16,6 @@
# Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Temple Place - Suite 330, Boston, MA 02111-1307, USA.
import os import os
import sys
import time import time
def build_name(kscfg, release=None, prefix = None, suffix = None): def build_name(kscfg, release=None, prefix = None, suffix = None):

View File

@@ -18,8 +18,6 @@
# with this program; if not, write to the Free Software Foundation, Inc., 59 # with this program; if not, write to the Free Software Foundation, Inc., 59
# Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Temple Place - Suite 330, Boston, MA 02111-1307, USA.
import os
from wic import msger from wic import msger
from wic.utils import runner from wic.utils import runner
from wic.utils.errors import ImageError from wic.utils.errors import ImageError