Change ftpparse import to avoid py2exe load error.

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3883 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2009-01-08 12:28:39 +00:00
parent 714c4e258d
commit 8d5d4827c3

View file

@ -24,7 +24,7 @@ import urllib
from cStringIO import StringIO
from .. import log, LOG_CHECK, LinkCheckerError
from ..ftpparse import _ftpparse as ftpparse
from .. import ftpparse
from . import proxysupport, httpurl, internpaturl, get_index_html
from .const import WARN_FTP_MISSING_SLASH, PARSE_EXTENSIONS
@ -158,7 +158,7 @@ class FtpUrl (internpaturl.InternPatternUrl, proxysupport.ProxySupport):
"""
log.debug(LOG_CHECK, "Directory entry %r", line)
try:
fpo = ftpparse.parse(line)
fpo = ftpparse._ftpparse.parse(line)
name = fpo.name
if fpo.trycwd:
name += "/"