diff options
| author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-15 00:07:14 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-04 23:18:17 +0000 |
| commit | f8a4bd99503f5b63bbc748fedd4b7f32afbf0cb7 (patch) | |
| tree | 83d71805728280c9d95400833d3cf291269692e0 /scripts/lib/wic/plugins/source | |
| parent | af17aa91b32421100d8898a7c95049068e8e0e26 (diff) | |
| download | poky-f8a4bd99503f5b63bbc748fedd4b7f32afbf0cb7.tar.gz | |
wic: move WicError to lib/wic/__init__.py
Removed unused exceptions from error.py
Moved definition of WicError to lib/wic/__init__.py
(From OE-Core rev: 15442d072bb6d93bd9b941726f93262503053da5)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins/source')
| -rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-efi.py | 2 | ||||
| -rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-partition.py | 2 | ||||
| -rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-pcbios.py | 2 | ||||
| -rw-r--r-- | scripts/lib/wic/plugins/source/fsimage.py | 2 | ||||
| -rw-r--r-- | scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 2 | ||||
| -rw-r--r-- | scripts/lib/wic/plugins/source/rawcopy.py | 2 | ||||
| -rw-r--r-- | scripts/lib/wic/plugins/source/rootfs.py | 2 | ||||
| -rw-r--r-- | scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py b/scripts/lib/wic/plugins/source/bootimg-efi.py index 1f018fabf4..2d793a5cb7 100644 --- a/scripts/lib/wic/plugins/source/bootimg-efi.py +++ b/scripts/lib/wic/plugins/source/bootimg-efi.py | |||
| @@ -28,7 +28,7 @@ import logging | |||
| 28 | import os | 28 | import os |
| 29 | import shutil | 29 | import shutil |
| 30 | 30 | ||
| 31 | from wic.errors import WicError | 31 | from wic import WicError |
| 32 | from wic.engine import get_custom_config | 32 | from wic.engine import get_custom_config |
| 33 | from wic.pluginbase import SourcePlugin | 33 | from wic.pluginbase import SourcePlugin |
| 34 | from wic.utils.misc import (exec_cmd, exec_native_cmd, get_bitbake_var, | 34 | from wic.utils.misc import (exec_cmd, exec_native_cmd, get_bitbake_var, |
diff --git a/scripts/lib/wic/plugins/source/bootimg-partition.py b/scripts/lib/wic/plugins/source/bootimg-partition.py index e9724a63a3..373e8d8f75 100644 --- a/scripts/lib/wic/plugins/source/bootimg-partition.py +++ b/scripts/lib/wic/plugins/source/bootimg-partition.py | |||
| @@ -29,7 +29,7 @@ import re | |||
| 29 | 29 | ||
| 30 | from glob import glob | 30 | from glob import glob |
| 31 | 31 | ||
| 32 | from wic.errors import WicError | 32 | from wic import WicError |
| 33 | from wic.pluginbase import SourcePlugin | 33 | from wic.pluginbase import SourcePlugin |
| 34 | from wic.utils.misc import exec_cmd, get_bitbake_var | 34 | from wic.utils.misc import exec_cmd, get_bitbake_var |
| 35 | 35 | ||
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py index c3a0e4eb42..74c75a054e 100644 --- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py +++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py | |||
| @@ -27,8 +27,8 @@ | |||
| 27 | import logging | 27 | import logging |
| 28 | import os | 28 | import os |
| 29 | 29 | ||
| 30 | from wic import WicError | ||
| 30 | from wic.engine import get_custom_config | 31 | from wic.engine import get_custom_config |
| 31 | from wic.errors import WicError | ||
| 32 | from wic.utils import runner | 32 | from wic.utils import runner |
| 33 | from wic.pluginbase import SourcePlugin | 33 | from wic.pluginbase import SourcePlugin |
| 34 | from wic.utils.misc import (exec_cmd, exec_native_cmd, | 34 | from wic.utils.misc import (exec_cmd, exec_native_cmd, |
diff --git a/scripts/lib/wic/plugins/source/fsimage.py b/scripts/lib/wic/plugins/source/fsimage.py index 67fc6d1b04..8fbe44d975 100644 --- a/scripts/lib/wic/plugins/source/fsimage.py +++ b/scripts/lib/wic/plugins/source/fsimage.py | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | import logging | 18 | import logging |
| 19 | import os | 19 | import os |
| 20 | 20 | ||
| 21 | from wic.errors import WicError | 21 | from wic import WicError |
| 22 | from wic.pluginbase import SourcePlugin | 22 | from wic.pluginbase import SourcePlugin |
| 23 | from wic.utils.misc import get_bitbake_var | 23 | from wic.utils.misc import get_bitbake_var |
| 24 | 24 | ||
diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py index df86acc0e0..1ceba62be0 100644 --- a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py +++ b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py | |||
| @@ -26,7 +26,7 @@ import os | |||
| 26 | import re | 26 | import re |
| 27 | import shutil | 27 | import shutil |
| 28 | 28 | ||
| 29 | from wic.errors import WicError | 29 | from wic import WicError |
| 30 | from wic.engine import get_custom_config | 30 | from wic.engine import get_custom_config |
| 31 | from wic.pluginbase import SourcePlugin | 31 | from wic.pluginbase import SourcePlugin |
| 32 | from wic.utils.misc import exec_cmd, exec_native_cmd, get_bitbake_var | 32 | from wic.utils.misc import exec_cmd, exec_native_cmd, get_bitbake_var |
diff --git a/scripts/lib/wic/plugins/source/rawcopy.py b/scripts/lib/wic/plugins/source/rawcopy.py index 561280977a..12348ae35e 100644 --- a/scripts/lib/wic/plugins/source/rawcopy.py +++ b/scripts/lib/wic/plugins/source/rawcopy.py | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | import logging | 18 | import logging |
| 19 | import os | 19 | import os |
| 20 | 20 | ||
| 21 | from wic.errors import WicError | 21 | from wic import WicError |
| 22 | from wic.pluginbase import SourcePlugin | 22 | from wic.pluginbase import SourcePlugin |
| 23 | from wic.utils.misc import exec_cmd, get_bitbake_var | 23 | from wic.utils.misc import exec_cmd, get_bitbake_var |
| 24 | from wic.filemap import sparse_copy | 24 | from wic.filemap import sparse_copy |
diff --git a/scripts/lib/wic/plugins/source/rootfs.py b/scripts/lib/wic/plugins/source/rootfs.py index f7ca569604..f2e2ca8a2b 100644 --- a/scripts/lib/wic/plugins/source/rootfs.py +++ b/scripts/lib/wic/plugins/source/rootfs.py | |||
| @@ -31,7 +31,7 @@ import shutil | |||
| 31 | 31 | ||
| 32 | from oe.path import copyhardlinktree | 32 | from oe.path import copyhardlinktree |
| 33 | 33 | ||
| 34 | from wic.errors import WicError | 34 | from wic import WicError |
| 35 | from wic.pluginbase import SourcePlugin | 35 | from wic.pluginbase import SourcePlugin |
| 36 | from wic.utils.misc import get_bitbake_var, exec_cmd | 36 | from wic.utils.misc import get_bitbake_var, exec_cmd |
| 37 | 37 | ||
diff --git a/scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py b/scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py index cf0eec2fe3..94f80d07ae 100644 --- a/scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py +++ b/scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py | |||
| @@ -22,7 +22,7 @@ import logging | |||
| 22 | import os | 22 | import os |
| 23 | import re | 23 | import re |
| 24 | 24 | ||
| 25 | from wic.errors import WicError | 25 | from wic import WicError |
| 26 | from wic.utils import runner | 26 | from wic.utils import runner |
| 27 | from wic.utils.misc import get_bitbake_var, exec_cmd, exec_native_cmd | 27 | from wic.utils.misc import get_bitbake_var, exec_cmd, exec_native_cmd |
| 28 | from wic.pluginbase import SourcePlugin | 28 | from wic.pluginbase import SourcePlugin |
