* play safe

This commit is contained in:
Faik Uygur
2006-10-11 23:06:26 +00:00
parent 9d17be3f6d
commit 5d01b426ad
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ def configure_pending():
m.read(metadata_path)
# FIXME: we need a full package info here!
pkginfo.name = x
ctx.ui.notify(pisi.ui.configuring, package = pkginfo, files = None)
ctx.ui.notify(pisi.ui.configuring, name = pkginfo.name)
pisi.comariface.post_install(
pkginfo.name,
m.package.providesComar,
+2 -2
View File
@@ -242,7 +242,7 @@ class Install(AtomicOperation):
self.config_later = False
if ctx.comar:
import pisi.comariface
ctx.ui.notify(pisi.ui.configuring, package = self.pkginfo, files = self.files)
ctx.ui.notify(pisi.ui.configuring, name = self.pkginfo.name)
pisi.comariface.post_install(
self.pkginfo.name,
self.metadata.package.providesComar,
@@ -257,7 +257,7 @@ class Install(AtomicOperation):
def extract_install(self):
"unzip package in place"
ctx.ui.notify(pisi.ui.extracting, package = self.pkginfo, files = self.files)
ctx.ui.notify(pisi.ui.extracting, name = self.pkginfo.name)
config_changed = []
def check_config_changed(config):
+1 -1
View File
@@ -149,7 +149,7 @@ class CLI(UI):
elif event == ui.configured:
msg = _('Configured %s') % keywords['package'].name
elif event == ui.extracting:
msg = _('Extracting the files of %s') % keywords['package'].name
msg = _('Extracting the files of %s') % keywords['name']
if event == ui.progressed:
self.output("\r%s (%d%%)" % (keywords['info'], keywords['percent']))
if keywords['percent'] == 100: