mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-24 08:04:44 +00:00
Catch original httplib errors too since it is used indirectly by urllib functions.
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3833 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
3b94dd2810
commit
84355f7b94
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ import select
|
|||
import nntplib
|
||||
import ftplib
|
||||
import re
|
||||
import httplib as orighttplib
|
||||
from .. import LinkCheckerError, httplib2 as httplib
|
||||
from ..dns.exception import DNSException
|
||||
|
||||
|
|
@ -47,6 +48,7 @@ ExcCacheList = [
|
|||
EOFError,
|
||||
# http error
|
||||
httplib.error,
|
||||
orighttplib.error,
|
||||
# ftp errors
|
||||
ftplib.error_reply,
|
||||
ftplib.error_temp,
|
||||
|
|
|
|||
Loading…
Reference in a new issue