Skip to content

4.4.1 stacktrace for "b2 license" #1106

@leres

Description

@leres

Given _internal/console_tool.py:

piplicenses = None
prettytable = None
with suppress(ImportError):
    import piplicenses
    import prettytable

I see an AttributeError stack trace when I run b2 license. It would be nice instead to either suppress the license sub-command or print and error message when it is requested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions