diff --git a/pisi/atomicoperations.py b/pisi/atomicoperations.py index 8e96bd07..e716ffc3 100644 --- a/pisi/atomicoperations.py +++ b/pisi/atomicoperations.py @@ -422,7 +422,9 @@ class Remove(AtomicOperation): for fileinfo in self.files.list: self.remove_file(fileinfo) removed += 1 - ctx.ui.notify(pisi.ui.progressed, percent = progress.update(removed), + ctx.ui.notify(pisi.ui.progressed, + operation = "removing", + percent = progress.update(removed), info = _("Removing package %s") % self.package_name) txn = ctx.dbenv.txn_begin() diff --git a/pisi/index.py b/pisi/index.py index 2cb2b0ea..8726da64 100644 --- a/pisi/index.py +++ b/pisi/index.py @@ -108,7 +108,9 @@ class Index(XmlFile): def update_progress(): self.processed += 1 - ctx.ui.notify(pisi.ui.progressed, percent = self.progress.update(self.processed), + ctx.ui.notify(pisi.ui.progressed, + operation = "updatingrepo", + percent = self.progress.update(self.processed), info = _("Updating package database of %s") % repo) ctx.componentdb.remove_repo(repo, txn=txn)