summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib')
-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 be34355ce4..ff6e2ca0f0 100644
--- a/scripts/lib/wic/conf.py
+++ b/scripts/lib/wic/conf.py
@@ -15,8 +15,7 @@
15# with this program; if not, write to the Free Software Foundation, Inc., 59 15# with this program; if not, write to the Free Software Foundation, Inc., 59
16# Temple Place - Suite 330, Boston, MA 02111-1307, USA. 16# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 17
18import os, sys, re 18import os
19import ConfigParser
20 19
21from wic import msger 20from wic import msger
22from wic import kickstart 21from 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 @@
15# with this program; if not, write to the Free Software Foundation, Inc., 59 15# with this program; if not, write to the Free Software Foundation, Inc., 59
16# Temple Place - Suite 330, Boston, MA 02111-1307, USA. 16# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 17
18import os, sys, re 18import os, sys
19from optparse import SUPPRESS_HELP 19from optparse import SUPPRESS_HELP
20 20
21from wic import msger 21from 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 @@
17# Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 18
19from __future__ import with_statement 19from __future__ import with_statement
20import os, sys 20import os
21import tempfile 21import tempfile
22import shutil 22import shutil
23 23
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 @@
25# 25#
26 26
27import os 27import os
28import stat
29import shutil 28import shutil
30 29
31from wic import kickstart, msger 30from 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 @@
24# Tom Zanussi <tom.zanussi (at] linux.intel.com> 24# Tom Zanussi <tom.zanussi (at] linux.intel.com>
25# 25#
26 26
27import shutil
28import os 27import os
29import tempfile 28import tempfile
30 29
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 @@
15# with this program; if not, write to the Free Software Foundation, Inc., 59 15# with this program; if not, write to the Free Software Foundation, Inc., 59
16# Temple Place - Suite 330, Boston, MA 02111-1307, USA. 16# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 17
18import os
19import shutil
20from wic import msger 18from wic import msger
21from wic.utils import errors 19from wic.utils import errors
22 20
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 @@
24# Tom Zanussi <tom.zanussi (at] linux.intel.com> 24# Tom Zanussi <tom.zanussi (at] linux.intel.com>
25# 25#
26 26
27import os
28import shutil
29import re
30import tempfile
31
32from wic import msger 27from wic import msger
33from wic.utils import misc, fs_related, errors, runner, cmdln 28from wic.utils import misc, fs_related, errors, runner, cmdln
34from wic.conf import configmgr 29from 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 @@
26 26
27import os 27import os
28import shutil 28import shutil
29import re
30import tempfile
31 29
32from wic import kickstart, msger 30from wic import kickstart, msger
33from wic.utils import misc, fs_related, errors, runner, cmdln 31from 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 @@
25# 25#
26 26
27import os 27import os
28import shutil
29import re
30import tempfile
31 28
32from wic import kickstart, msger 29from wic import kickstart, msger
33from wic.utils import misc, fs_related, errors, runner, cmdln 30from 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 @@
16# 16#
17 17
18import os 18import os
19import re
20 19
21from wic import msger 20from wic import msger
22from wic.pluginbase import SourcePlugin 21from 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 @@
16# 16#
17 17
18import os 18import os
19import re
20 19
21from wic import msger 20from wic import msger
22from wic.pluginbase import SourcePlugin 21from 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 @@
26# 26#
27 27
28import os 28import os
29import shutil
30import re
31import tempfile
32 29
33from wic import kickstart, msger 30from wic import kickstart, msger
34from wic.utils import misc, fs_related, errors, runner, cmdln 31from 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 @@
18 18
19from __future__ import with_statement 19from __future__ import with_statement
20import os 20import os
21import sys
22import errno 21import errno
23import stat
24import random
25import string
26import time
27import uuid
28 22
29from wic import msger 23from wic import msger
30from wic.utils import runner 24from 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 @@
16# Temple Place - Suite 330, Boston, MA 02111-1307, USA. 16# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 17
18import os 18import os
19import sys
20import time 19import time
21 20
22def build_name(kscfg, release=None, prefix = None, suffix = None): 21def 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 @@
18# with this program; if not, write to the Free Software Foundation, Inc., 59 18# with this program; if not, write to the Free Software Foundation, Inc., 59
19# Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 20
21import os
22
23from wic import msger 21from wic import msger
24from wic.utils import runner 22from wic.utils import runner
25from wic.utils.errors import ImageError 23from wic.utils.errors import ImageError