diff options
author | Shuangquan Zhou <shuangquan.zhou@intel.com> | 2011-08-16 10:45:24 +0800 |
---|---|---|
committer | Shuangquan Zhou <shuangquan.zhou@intel.com> | 2011-08-16 10:45:24 +0800 |
commit | 6a63be0ee5bc73c67aaa5819a215944177940454 (patch) | |
tree | ff29ab526f44160b97ace0f0dc4ea954d99f07a5 /tools | |
parent | 65365f976ec1f93b53d8106b250de40427b9fef8 (diff) | |
download | mic-6a63be0ee5bc73c67aaa5819a215944177940454.tar.gz mic-6a63be0ee5bc73c67aaa5819a215944177940454.tar.bz2 mic-6a63be0ee5bc73c67aaa5819a215944177940454.zip |
Enhanced chroot/convert
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/mic | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -74,7 +74,7 @@ class Mic(cmdln.Cmdln): destimager = icls if (srcimager and destimager) is None: - raise CreatorError("Can't convert from %s to %s" %(srcformat, destformat)) + raise errors.CreatorError("Can't convert from %s to %s" %(srcformat, destformat)) else: base_on = srcimager.do_unpack(srcimg) destimager.do_pack(base_on) @@ -124,7 +124,7 @@ class Mic(cmdln.Cmdln): break if not chrootclass: - raise CreatorError("Don't support image type: %s" % imagetype) + raise errors.CreatorError("Don't support image type: %s" % imagetype) chrootclass.do_chroot(targetimage) |