From 55c13f083429c98fd784e873ea200095ff1ec691 Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Tue, 8 Nov 2022 19:21:29 +0000 Subject: [PATCH] Remove deprecated aliases for OSError --- linkcheck/checker/const.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/linkcheck/checker/const.py b/linkcheck/checker/const.py index bf4a8be6..c5d3fe9e 100644 --- a/linkcheck/checker/const.py +++ b/linkcheck/checker/const.py @@ -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,