mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-15 18:13:09 +00:00
assume cStringIO is there
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2870 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
6ca5dea8c3
commit
66a30acc2d
1 changed files with 1 additions and 5 deletions
|
|
@ -71,11 +71,7 @@ import errno
|
|||
import mimetools
|
||||
import socket
|
||||
from urlparse import urlsplit
|
||||
|
||||
try:
|
||||
from cStringIO import StringIO
|
||||
except ImportError:
|
||||
from StringIO import StringIO
|
||||
from cStringIO import StringIO
|
||||
|
||||
__all__ = ["HTTP", "HTTPResponse", "HTTPConnection", "HTTPSConnection",
|
||||
"HTTPException", "NotConnected", "UnknownProtocol",
|
||||
|
|
|
|||
Loading…
Reference in a new issue