From 19dd2bdb1e5b77ea40c54a166b6f7db914a570c7 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Mon, 15 Nov 2010 10:13:15 +0300 Subject: [PATCH] Fix error class name raised by umount failed. --- pym/cl_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/cl_builder.py b/pym/cl_builder.py index c3fccd7..e49a795 100644 --- a/pym/cl_builder.py +++ b/pym/cl_builder.py @@ -220,7 +220,7 @@ class cl_builder(color_print): self.printMessageForTest(_("Unmounting %s")%(target[len(mp):])) umountProcess = process("umount",target) if umountProcess.failed(): - raise AssembleError(_("Can not umount %s")%target) + raise BuilderError(_("Can not umount %s")%target) self.printByResult(True) distrPath = distr.convertToDirectory().getDirectory() self.cleanNeedlessKernelData(distrPath)