Skip to content

Commit

Permalink
lint: Exception => AssertionError
Browse files Browse the repository at this point in the history
  • Loading branch information
99-NinetyNine authored Jan 7, 2025
1 parent 78d7d01 commit f09cabd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dvc_ssh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _prepare_credentials(self, **config):

except FileNotFoundError:
user_ssh_config = {}
except Exception:
except AssertionError:
# host could have been None
# just doing this to check if test passes
user_ssh_config = {}
Expand Down

0 comments on commit f09cabd

Please sign in to comment.