mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-01 21:50:25 +00:00
fix https support test
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1107 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
f6f702427a
commit
0357b1237e
1 changed files with 2 additions and 2 deletions
|
|
@ -16,14 +16,14 @@
|
|||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
import urlparse, sys, time, re, httplib2, zlib, gzip, robotparser2
|
||||
import urlparse, sys, time, re, httplib2, zlib, gzip, robotparser2, socket
|
||||
from urllib import quote, unquote
|
||||
from cStringIO import StringIO
|
||||
import Config, i18n
|
||||
from debug import *
|
||||
from ProxyUrlData import ProxyUrlData
|
||||
from UrlData import ExcList, GetUrlDataFrom
|
||||
supportHttps = hasattr(httplib2, "HTTPSConnection")
|
||||
supportHttps = hasattr(httplib2, "HTTPSConnection") and hasattr(socket, "ssl")
|
||||
|
||||
ExcList.extend([httplib2.error,])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue