Skip to content

Commit

Permalink
Remove pylint bare-except comment
Browse files Browse the repository at this point in the history
Signed-off-by: Nicola Sella <[email protected]>
  • Loading branch information
inknos committed Dec 2, 2024
1 parent dd6de6a commit a49e497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion podman/domain/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a49e497

Please sign in to comment.