* play safe
This commit is contained in:
+1
-1
@@ -227,7 +227,7 @@ def configure_pending():
|
|||||||
m.read(metadata_path)
|
m.read(metadata_path)
|
||||||
# FIXME: we need a full package info here!
|
# FIXME: we need a full package info here!
|
||||||
pkginfo.name = x
|
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(
|
pisi.comariface.post_install(
|
||||||
pkginfo.name,
|
pkginfo.name,
|
||||||
m.package.providesComar,
|
m.package.providesComar,
|
||||||
|
|||||||
@@ -242,7 +242,7 @@ class Install(AtomicOperation):
|
|||||||
self.config_later = False
|
self.config_later = False
|
||||||
if ctx.comar:
|
if ctx.comar:
|
||||||
import pisi.comariface
|
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(
|
pisi.comariface.post_install(
|
||||||
self.pkginfo.name,
|
self.pkginfo.name,
|
||||||
self.metadata.package.providesComar,
|
self.metadata.package.providesComar,
|
||||||
@@ -257,7 +257,7 @@ class Install(AtomicOperation):
|
|||||||
def extract_install(self):
|
def extract_install(self):
|
||||||
"unzip package in place"
|
"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 = []
|
config_changed = []
|
||||||
def check_config_changed(config):
|
def check_config_changed(config):
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ class CLI(UI):
|
|||||||
elif event == ui.configured:
|
elif event == ui.configured:
|
||||||
msg = _('Configured %s') % keywords['package'].name
|
msg = _('Configured %s') % keywords['package'].name
|
||||||
elif event == ui.extracting:
|
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:
|
if event == ui.progressed:
|
||||||
self.output("\r%s (%d%%)" % (keywords['info'], keywords['percent']))
|
self.output("\r%s (%d%%)" % (keywords['info'], keywords['percent']))
|
||||||
if keywords['percent'] == 100:
|
if keywords['percent'] == 100:
|
||||||
|
|||||||
Reference in New Issue
Block a user