aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/wic/conf.py3
-rw-r--r--scripts/lib/wic/creator.py2
-rw-r--r--scripts/lib/wic/imager/baseimager.py2
-rw-r--r--scripts/lib/wic/imager/direct.py1
-rw-r--r--scripts/lib/wic/kickstart/custom_commands/partition.py1
-rw-r--r--scripts/lib/wic/pluginbase.py2
-rw-r--r--scripts/lib/wic/plugins/imager/direct_plugin.py5
-rw-r--r--scripts/lib/wic/plugins/source/bootimg-efi.py2
-rw-r--r--scripts/lib/wic/plugins/source/bootimg-pcbios.py3
-rw-r--r--scripts/lib/wic/plugins/source/fsimage.py1
-rw-r--r--scripts/lib/wic/plugins/source/rawcopy.py1
-rw-r--r--scripts/lib/wic/plugins/source/rootfs.py3
-rw-r--r--scripts/lib/wic/utils/fs_related.py6
-rw-r--r--scripts/lib/wic/utils/misc.py1
-rw-r--r--scripts/lib/wic/utils/partitionedfs.py2
15 files changed, 3 insertions, 32 deletions
diff --git a/scripts/lib/wic/conf.py b/scripts/lib/wic/conf.py
index be34355..ff6e2ca 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 2219377..760848f 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 e830527..2075358 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 d368401..b236c7a 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 f3d553b..ff90601 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 e3de9ba..72bcad2 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 5601c3f..17888e9 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 ee57881..d6c11ed 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 c4786a6..abb32eb 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 0967883..4a090ba 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 cf6236a..6bdd9b2 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 a432a18..6f5d9bb 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 ea9f85c..1e266b1 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 6e56316..5d6337c 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 162f8e1..2d74b6b 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