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)