remove BUG prefix on error

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1330501 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2012-04-25 19:24:05 +00:00
parent 7b44a4f213
commit d5e8cf0487
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class FindHyperlinks(HTMLParser):
# 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:
raise RuntimeError('BUG: couldn\'t find an href nor name in link in %s: only got these attrs: %s' % (self.baseURL, attrs)) raise RuntimeError('couldn\'t find an href nor name in link in %s: only got these attrs: %s' % (self.baseURL, attrs))
def printFile(self): def printFile(self):
if not self.printed: if not self.printed: