Skip to content

TypeError: catching classes that do not inherit from BaseException is not allowed #91

@MarcelGehring

Description

@MarcelGehring

There's what I think is a bug in client.py line 220.

Traceback (most recent call last):
...
File "/usr/local/lib/python3.9/site-packages/hpe3parclient/client.py", line 220, in init
except exceptions as ex:
TypeError: catching classes that do not inherit from BaseException is not allowed

The code is
except exceptions as ex:

and from my perspective it should be
except Exception as ex:

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