diff --git a/podman/domain/config.py b/podman/domain/config.py index d2068620..da1997e8 100644 --- a/podman/domain/config.py +++ b/podman/domain/config.py @@ -87,7 +87,7 @@ def __init__(self, path: Optional[str] = None): try: with open(self.path, encoding="utf-8") as file: self.attrs = json.load(file) - except Exception: # pylint: disable=bare-except + except Exception: # if the user specifies a path, it can either be a JSON file # or a TOML file - so try TOML next try: