From f65dae8c6e23638d85511b2513dad7bc12fe5c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Tue, 7 Jun 2011 07:44:33 +0000 Subject: [PATCH] tree-wide: Don't use weird asterisks at line beginnings --- pisi/api.py | 8 ++++---- pisi/cli/check.py | 2 +- pisi/operations/build.py | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pisi/api.py b/pisi/api.py index 3894f5e6..326e8955 100644 --- a/pisi/api.py +++ b/pisi/api.py @@ -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.')) diff --git a/pisi/cli/check.py b/pisi/cli/check.py index 958b0c22..f0651607 100644 --- a/pisi/cli/check.py +++ b/pisi/cli/check.py @@ -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'] diff --git a/pisi/operations/build.py b/pisi/operations/build.py index eeacc422..720ad832 100644 --- a/pisi/operations/build.py +++ b/pisi/operations/build.py @@ -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,