mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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:
committed by
Richard Purdie
parent
ba9cde6924
commit
dd6a1525ec
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import stat
|
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
from wic import kickstart, msger
|
from wic import kickstart, msger
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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):
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user