tree-wide: Don't use weird asterisks at line beginnings
This commit is contained in:
+4
-4
@@ -778,12 +778,12 @@ def index(dirs=None, output='pisi-index.xml',
|
||||
dirs = ['.']
|
||||
for repo_dir in dirs:
|
||||
repo_dir = str(repo_dir)
|
||||
ctx.ui.info(_('* Building index of PiSi files under %s') % repo_dir)
|
||||
ctx.ui.info(_('Building index of PiSi files under %s') % repo_dir)
|
||||
index.index(repo_dir, skip_sources)
|
||||
|
||||
sign = None if skip_signing else pisi.file.File.detached
|
||||
index.write(output, sha1sum=True, compress=compression, sign=sign)
|
||||
ctx.ui.info(_('* Index file written'))
|
||||
ctx.ui.info(_('Index file written'))
|
||||
|
||||
@locked
|
||||
def add_repo(name, indexuri, at = None):
|
||||
@@ -855,7 +855,7 @@ def __update_repo(repo, force=False):
|
||||
except pisi.file.NoSignatureFound, e:
|
||||
ctx.ui.warning(e)
|
||||
|
||||
ctx.ui.info(_('* Package database updated.'))
|
||||
ctx.ui.info(_('Package database updated.'))
|
||||
else:
|
||||
raise pisi.Error(_('No repository named %s found.') % repo)
|
||||
|
||||
@@ -870,7 +870,7 @@ def rebuild_db(files=False):
|
||||
|
||||
def rebuild_filesdb():
|
||||
for pkg in list_installed():
|
||||
ctx.ui.info(_('* Adding \'%s\' to db... ') % pkg, noln=True)
|
||||
ctx.ui.info(_('Adding \'%s\' to db... ') % pkg, noln=True)
|
||||
files = installdb.get_files(pkg)
|
||||
filesdb.add_files(pkg, files)
|
||||
ctx.ui.info(_('OK.'))
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ If no packages are given, checks all installed packages.
|
||||
|
||||
check_config = ctx.get_option('config')
|
||||
for pkg in pkgs:
|
||||
ctx.ui.info(_('* Checking %s... ') % pkg, noln=True)
|
||||
ctx.ui.info(_('Checking %s... ') % pkg, noln=True)
|
||||
if self.installdb.has_package(pkg):
|
||||
check_results = pisi.api.check(pkg, check_config)
|
||||
corrupted = check_results['missing'] or check_results['corrupted']
|
||||
|
||||
@@ -725,9 +725,9 @@ class Builder:
|
||||
if ret.violations != []:
|
||||
ctx.ui.error(_("Sandbox violation result:"))
|
||||
for result in ret.violations:
|
||||
ctx.ui.error("* %s (%s -> %s)" % (result[0],
|
||||
result[1],
|
||||
result[2]))
|
||||
ctx.ui.error("%s (%s -> %s)" % (result[0],
|
||||
result[1],
|
||||
result[2]))
|
||||
raise Error(_("Sandbox violations!"))
|
||||
|
||||
if ret.code == 1:
|
||||
@@ -841,7 +841,7 @@ class Builder:
|
||||
targetDir=ctx.config.tmp_dir())
|
||||
relativePath = relativePath.rsplit(".%s" % patch.compressionType, 1)[0]
|
||||
|
||||
ctx.ui.action(_("* Applying patch: %s") % patch.filename)
|
||||
ctx.ui.action(_("Applying patch: %s") % patch.filename)
|
||||
util.do_patch(self.pkg_src_dir(), patchFile,
|
||||
level=patch.level,
|
||||
name=relativePath,
|
||||
|
||||
Reference in New Issue
Block a user