diff options
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 | ||
