Remove unneeded imports

This commit is contained in:
Matt Martz 2016-03-07 17:03:39 -06:00
parent 95fe038752
commit 537c5aeda0
1 changed files with 0 additions and 5 deletions

View File

@ -203,11 +203,6 @@ else:
del builtins del builtins
# Exception "constants" to support Python 2 through Python 3 # Exception "constants" to support Python 2 through Python 3
try:
BROKEN_PIPE_ERROR = (BrokenPipeError,)
except NameError:
BROKEN_PIPE_ERROR = (IOError,)
try: try:
import ssl import ssl
HTTP_ERRORS = (HTTPError, URLError, socket.error, ssl.SSLError) HTTP_ERRORS = (HTTPError, URLError, socket.error, ssl.SSLError)