fix windows path sep issue

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1337549 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2012-05-12 14:07:56 +00:00
parent 8141aa3005
commit b831e55acc
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class FindHyperlinks(HTMLParser):
href = href.strip() href = href.strip()
self.links.append(urlparse.urljoin(self.baseURL, href)) self.links.append(urlparse.urljoin(self.baseURL, href))
else: else:
if self.baseURL.endswith('/AttributeSource.html'): if self.baseURL.endswith(os.path.sep + 'AttributeSource.html'):
# LUCENE-4010: AttributeSource's javadocs has an unescaped <A> generics!! Seems to be a javadocs bug... (fixed in Java 7) # LUCENE-4010: AttributeSource's javadocs has an unescaped <A> generics!! Seems to be a javadocs bug... (fixed in Java 7)
pass pass
else: else: