Remove deprecated aliases for OSError

This commit is contained in:
Chris Mayo 2022-11-08 19:21:29 +00:00
parent 0bb1576887
commit 55c13f0834

View file

@ -17,7 +17,6 @@
Helper constants.
"""
import socket
import select
import nntplib
import ftplib
import requests
@ -37,8 +36,6 @@ ExcCacheList = [
OSError, # OSError is thrown on Windows when a file is not found
LinkCheckerError,
DNSException,
socket.error,
select.error,
# nttp errors (including EOFError)
nntplib.NNTPError,
EOFError,