Commit 09a86bc5 authored by Brett Cannon's avatar Brett Cannon

Fix a typo where the variable name was not updated.

parent 41d4e323
......@@ -346,7 +346,7 @@ def transient_internet():
time_out = TransientResource(IOError, errno=errno.ETIMEDOUT)
socket_peer_reset = TransientResource(socket.error, errno=errno.ECONNRESET)
ioerror_peer_reset = TransientResource(IOError, errno=errno.ECONNRESET)
return contextlib.nested(time_out, peer_reset, ioerror_peer_reset)
return contextlib.nested(time_out, socket_peer_reset, ioerror_peer_reset)
#=======================================================================
......
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