summaryrefslogtreecommitdiff
path: root/BeautifulSoup.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2009-04-09 11:22:07 -0400
committerLeonard Richardson <leonard.richardson@canonical.com>2009-04-09 11:22:07 -0400
commit23908372c711d9df06c8bbbfe3bbd85a564164cf (patch)
tree7e8703a0a2cf6169f8376a98b1c912aaec9ebffa /BeautifulSoup.py
parent5a716cbd67109638640c1e1502e3db7a7269125b (diff)
Minor cleanup.
Diffstat (limited to 'BeautifulSoup.py')
-rw-r--r--BeautifulSoup.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/BeautifulSoup.py b/BeautifulSoup.py
index 7ba4fa7..32d4a15 100644
--- a/BeautifulSoup.py
+++ b/BeautifulSoup.py
@@ -1144,15 +1144,12 @@ class XMLParserBuilder(HTMLParser, TreeBuilder):
# The tag was filtered out by the SoupStrainer
return
if name in self.quote_tags:
- #print "Beginning quote (%s)" % name
+ #print "Beginning quote (%s)" % name
self.quoteStack.append(name)
self.literal = 1
if self.isSelfClosingTag(name):
self.soup.popTag()
- def handle_startendtag(self, name, attrs):
- self.handle_starttag(name, attrs)
-
def handle_endtag(self, name):
if self.quoteStack and self.quoteStack[-1] != name:
#This is not a real end tag.