From aa84a6a9fc42e4904c694de3c5df7e77703a80ea Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Sat, 7 Oct 2006 23:58:13 +0000 Subject: [PATCH] * installing and downloading infos --- pisi/atomicoperations.py | 2 +- pisi/fetcher.py | 1 - pisi/file.py | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/atomicoperations.py b/pisi/atomicoperations.py index d5b60436..4c23f450 100644 --- a/pisi/atomicoperations.py +++ b/pisi/atomicoperations.py @@ -101,7 +101,7 @@ class Install(AtomicOperation): ctx.ui.status(_('Installing %s, version %s, release %s, build %s') % (self.pkginfo.name, self.pkginfo.version, self.pkginfo.release, self.pkginfo.build)) - ctx.ui.notify(pisi.ui.installing, package = self.pkginfo, files = self.files) + ctx.ui.notify(pisi.ui.installing, name=self.pkginfo.name) self.ask_reinstall = ask_reinstall self.check_requirements() diff --git a/pisi/fetcher.py b/pisi/fetcher.py index e1290aa5..7a1d80f0 100644 --- a/pisi/fetcher.py +++ b/pisi/fetcher.py @@ -104,7 +104,6 @@ class Fetcher: return archive_file def _do_grab(self, fileURI, dest, total_size): - ctx.ui.notify(pisi.ui.downloading, url = fileURI) bs, tt, = 1024, int(time()) s_time = time() Tdiff = lambda: time() - s_time diff --git a/pisi/file.py b/pisi/file.py index 1e76e400..b0ec1e78 100644 --- a/pisi/file.py +++ b/pisi/file.py @@ -115,6 +115,7 @@ class File: if uri.is_remote_file(): ctx.ui.info(_("Fetching %s") % uri.get_uri(), verbose=True) + ctx.ui.notify(pisi.ui.downloading, name=os.path.basename(uri.get_uri())) fetch_url(uri, transfer_dir, ctx.ui.Progress) else: # copy to transfer dir,