diff options
author | JF Ding <jian-feng.ding@intel.com> | 2011-08-16 14:19:34 +0800 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.bj.intel.com> | 2011-08-16 14:19:34 +0800 |
commit | e91ec7e6b2fa6859d9ea6b39212c971221e638cd (patch) | |
tree | f7548d275d2c29ad3502c411abd9287b09352d46 /tools | |
parent | a2fa4c2009c0028542b305db773f7076b6eb73d0 (diff) | |
parent | 6a63be0ee5bc73c67aaa5819a215944177940454 (diff) | |
download | mic-e91ec7e6b2fa6859d9ea6b39212c971221e638cd.tar.gz mic-e91ec7e6b2fa6859d9ea6b39212c971221e638cd.tar.bz2 mic-e91ec7e6b2fa6859d9ea6b39212c971221e638cd.zip |
Merge "Enhanced chroot/convert"
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/mic | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -91,7 +91,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) @@ -141,7 +141,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) |