* installing and downloading infos

This commit is contained in:
Faik Uygur
2006-10-07 23:58:13 +00:00
parent 847d466c22
commit aa84a6a9fc
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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()
-1
View File
@@ -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
+1
View File
@@ -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,