-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prevent ethpm
import issues without ipfshttpclient
#2775
Conversation
…ttpclient`` dependency
cf91a19
to
a01987a
Compare
@@ -30,6 +27,12 @@ | |||
RegistryURIBackend, | |||
) | |||
|
|||
try: | |||
from ipfshttpclient.exceptions import ConnectionError as IpfsConnectionError |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was renamed to IpfsConnectionError
because there is a builtin ConenctionError
... so we'd be mistakenly catching an unwanted exception if the ipfshttpclient
module is not available.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
What was wrong?
Related to Issue #2774
How was it fixed?
ipfshttpclient
forethpm
Todo:
Cute Animal Picture