From a148d4b9dc95673af693e8b60768dd5e4e281615 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Wed, 11 Oct 2006 22:15:29 +0000 Subject: [PATCH] * notify notify --- pisi/api.py | 1 + pisi/index.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pisi/api.py b/pisi/api.py index cc9dfea8..c08dae64 100644 --- a/pisi/api.py +++ b/pisi/api.py @@ -362,6 +362,7 @@ def list_repos(): def update_repo(repo, force=False): ctx.ui.info(_('* Updating repository: %s') % repo) + ctx.ui.notify(pisi.ui.updatingrepo, name = repo) index = Index() if ctx.repodb.has_repo(repo): repouri = ctx.repodb.get_repo(repo).indexuri.get_uri() diff --git a/pisi/index.py b/pisi/index.py index 1fecc172..2cb2b0ea 100644 --- a/pisi/index.py +++ b/pisi/index.py @@ -71,7 +71,6 @@ class Index(XmlFile): urlfile.write(uri) # uri urlfile.close() - ctx.ui.notify(pisi.ui.downloading, name=repo) self.read_uri(uri, tmpdir, force) if not repo: @@ -112,7 +111,6 @@ class Index(XmlFile): ctx.ui.notify(pisi.ui.progressed, percent = self.progress.update(self.processed), info = _("Updating package database of %s") % repo) - ctx.ui.notify(pisi.ui.updatingrepo, name = repo) ctx.componentdb.remove_repo(repo, txn=txn) for comp in self.components: ctx.componentdb.update_component(comp, repo, txn)