* fix: add removing notification

This commit is contained in:
Eray Özkural
2005-12-15 10:15:31 +00:00
parent ea940d4973
commit 09d308c527
+1
View File
@@ -320,6 +320,7 @@ class Remove(AtomicOperation):
inst_packagedb = packagedb.inst_packagedb inst_packagedb = packagedb.inst_packagedb
ctx.ui.status(_('Removing package %s') % self.package_name) ctx.ui.status(_('Removing package %s') % self.package_name)
ctx.ui.notify(pisi.ui.removing, package = self.package, files = self.files)
if not ctx.installdb.is_installed(self.package_name): if not ctx.installdb.is_installed(self.package_name):
raise Exception(_('Trying to remove nonexistent package ') raise Exception(_('Trying to remove nonexistent package ')
+ self.package_name) + self.package_name)