* installing and downloading infos
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user