diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-11-15 12:58:34 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-11-15 16:57:35 +0000 |
commit | 4f954e5bfcfc029d524dc46d4176d848e86dedfa (patch) | |
tree | bbace7e5197372b6db5f602552e3720a37607f54 /morphlib/builder2.py | |
parent | dfdf35fe833c4e81bb08004d139cb1132c018d69 (diff) | |
download | morph-4f954e5bfcfc029d524dc46d4176d848e86dedfa.tar.gz |
Consistency fix
Diffstat (limited to 'morphlib/builder2.py')
-rw-r--r-- | morphlib/builder2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/builder2.py b/morphlib/builder2.py index 0de0ebff..d829474c 100644 --- a/morphlib/builder2.py +++ b/morphlib/builder2.py @@ -706,7 +706,6 @@ class DiskImageBuilder(SystemKindBuilder): # pragma: no cover mount_point) self._install_bootloader(mount_point) self.copy_kernel_into_artifact_cache(factory_path) - self._unmount(mount_point) except BaseException, e: logging.error(traceback.format_exc()) self.app.status(msg='Error while building system', @@ -715,6 +714,7 @@ class DiskImageBuilder(SystemKindBuilder): # pragma: no cover self._undo_device_mapping(image_name) raise + self._unmount(mount_point) self._undo_device_mapping(image_name) self.app.status(msg='Compressing disk image', |