Commit 7b8e7703 authored by Mickaël Desfrênes's avatar Mickaël Desfrênes
Browse files

remove ambiguous info

parent a1ab7fef
Loading
Loading
Loading
Loading
+1 −7
Changes for src/climax/__main__.py: 1 added line, 7 removed lines.
Original line number Diff line number Diff line
@@ -751,9 +751,7 @@ def bundles_list(installed_only: bool = False):
    check_cwd_is_max()
    config = max_config()
    console = Console()
    table = Table(
        _("Nom"), _("Installé"), _("Description"), _("vocabulaire"), show_lines=True
    )
    table = Table(_("Nom"), _("Installé"), _("Description"), show_lines=True)
    bundles_done = {}
    for bundle_name, bundle in config.available_bundles.items():
        bundles_done[bundle_name] = [
@@ -762,9 +760,6 @@ def bundles_list(installed_only: bool = False):
            if bundle["active"]
            else "[red]{}[/red]".format(_("non")),
            bundle["description"],
            "[green]{}[/green]".format(_("oui"))
            if bundle["vocabulary"]
            else "[red]{}[/red]".format(_("non")),
        ]

    for bundle_name, bundle in config.bundles.items():
@@ -773,7 +768,6 @@ def bundles_list(installed_only: bool = False):
                "[bold]{}[/bold]".format(bundle_name),
                "[green]{}[/green]".format(_("oui")),
                _("(bundle local sans description)"),
                "[red]{}[/red]".format(_("non")),
            ]
    for k, row in dict(sorted(bundles_done.items())).items():
        table.add_row(*row)