]> git.phdru.name Git - bookmarks_db.git/blobdiff - parse_html/htmlparser.py
Added __all__.
[bookmarks_db.git] / parse_html / htmlparser.py
index 0932873f14a9566b74d056feed7b261f1a9ce9a0..295df2bdabe6b9cacf839b3c4bea0a56a70c1d5f 100644 (file)
@@ -10,6 +10,9 @@ __author__ = "Oleg Broytman <phd@phdru.name>"
 __copyright__ = "Copyright (C) 1997-2011 PhiloSoft Design"
 __license__ = "GNU GPL"
 
+__all__ = ['parse_html']
+
+
 from HTMLParser import HTMLParseError
 from m_lib.net.www.html import HTMLParser as _HTMLParser
 
@@ -29,7 +32,6 @@ class HTMLParser(_HTMLParser):
    def end_head(self):
       raise HTMLHeadDone()
 
-
    def do_meta(self, attrs):
       http_equiv = ""
       content = ""
@@ -54,7 +56,6 @@ class HTMLParser(_HTMLParser):
       if http_equiv == "refresh":
          self.refresh = content
 
-
    def start_title(self, attrs):
       self.accumulator = ''
 
@@ -62,7 +63,6 @@ class HTMLParser(_HTMLParser):
       if not self.title: # use only the first title
          self.title = self.accumulator
 
-
    def do_link(self, attrs):
       has_icon = False
       href = None