mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-30 11:04:50 +00:00
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:
parent
714c4e258d
commit
8d5d4827c3
1 changed files with 2 additions and 2 deletions
|
|
@ -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 += "/"
|
||||
|
|
|
|||
Loading…
Reference in a new issue