diff options
| author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2014-08-08 15:11:31 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-11 10:53:12 +0100 |
| commit | ff1aa2358eb31f21c3acdb980633f5bbc77bda77 (patch) | |
| tree | 45c56fac452e19b46d51d445e886183f97f0e8c0 /scripts/lib/mic/imager/direct.py | |
| parent | 312479cf075fc614afb9588412c03d716c850ab6 (diff) | |
| download | poky-ff1aa2358eb31f21c3acdb980633f5bbc77bda77.tar.gz | |
wic: Rename MountError
wic doesn't mount anything, so can't have a mount error; rename it to
something more appropriate.
(From OE-Core rev: e1edee656fc9c0a791c0eb62796d1afa483be34e)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/mic/imager/direct.py')
| -rw-r--r-- | scripts/lib/mic/imager/direct.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/mic/imager/direct.py b/scripts/lib/mic/imager/direct.py index a4f5691f79..2f2bd4e072 100644 --- a/scripts/lib/mic/imager/direct.py +++ b/scripts/lib/mic/imager/direct.py | |||
| @@ -32,7 +32,7 @@ import shutil | |||
| 32 | from mic import kickstart, msger | 32 | from mic import kickstart, msger |
| 33 | from mic.utils import fs_related, runner, misc | 33 | from mic.utils import fs_related, runner, misc |
| 34 | from mic.utils.partitionedfs import Image | 34 | from mic.utils.partitionedfs import Image |
| 35 | from mic.utils.errors import CreatorError, MountError | 35 | from mic.utils.errors import CreatorError, ImageError |
| 36 | from mic.imager.baseimager import BaseImageCreator | 36 | from mic.imager.baseimager import BaseImageCreator |
| 37 | from mic.utils.oe.misc import * | 37 | from mic.utils.oe.misc import * |
| 38 | from mic.plugin import pluginmgr | 38 | from mic.plugin import pluginmgr |
| @@ -358,6 +358,6 @@ class DirectImageCreator(BaseImageCreator): | |||
| 358 | if not self.__image is None: | 358 | if not self.__image is None: |
| 359 | try: | 359 | try: |
| 360 | self.__image.cleanup() | 360 | self.__image.cleanup() |
| 361 | except MountError, err: | 361 | except ImageError, err: |
| 362 | msger.warning("%s" % err) | 362 | msger.warning("%s" % err) |
| 363 | 363 | ||
