Kaydet (Commit) 5d938cb3 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Add EHOSTUNREACH ('No route to host') to the errnos trapped by transient_internet().

üst 83b1ab0d
......@@ -800,6 +800,7 @@ def transient_internet(resource_name, *, timeout=30.0, errnos=()):
default_errnos = [
('ECONNREFUSED', 111),
('ECONNRESET', 104),
('EHOSTUNREACH', 113),
('ENETUNREACH', 101),
('ETIMEDOUT', 110),
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment