Skip to content

Fix try except pass #276

Closed
Closed
@galenseilis

Description

@galenseilis

There is the following lines of code in import_params.py.

Image

Generally "bare excepts" like this are discouraged:

There is even PEP760 which proposes disallowing them altogether.

https://peps.python.org/pep-0760/

I suggest we find out what all the branches are and treat them explicitly instead of a catch-all try except.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions