]> git.phdru.name Git - bookmarks_db.git/commitdiff
Export main. Import universal_charset only in main.
authorOleg Broytman <phd@phdru.name>
Thu, 6 Jan 2011 19:12:59 +0000 (19:12 +0000)
committerOleg Broytman <phd@phdru.name>
Thu, 6 Jan 2011 19:12:59 +0000 (19:12 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@325 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

parse_html/__init__.py

index 17800d050ed8b2a372e43741b1ad310a41c421da..f73c0099135249c7bc065f76e30dd2397e144ca4 100644 (file)
@@ -10,14 +10,15 @@ __author__ = "Oleg Broytman <phd@phdru.name>"
 __copyright__ = "Copyright (C) 1997-2011 PhiloSoft Design"
 __license__ = "GNU GPL"
 
-__all__ = ['parse_html']
+__all__ = ['parse_html', 'main']
 
 
-from .bkmk_parse_html import parse_html, universal_charset
+from .bkmk_parse_html import parse_html
 
 
 def main():
    import sys
+   from .bkmk_parse_html import universal_charset
 
    l = len(sys.argv)
    if l == 3: