aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2011-06-20 10:05:54 -0400
committerWaylan Limberg <waylan@gmail.com>2011-06-20 10:05:54 -0400
commit89a4f3d0829a70b655bcf7c904dc06098a09ea4a (patch)
tree48267a6c2d9fe43c5cc9f01e03905a8a1c19eb7e
parentca145d4b5da3ea0a328ccd7a5505cef3da6646a0 (diff)
downloadmarkdown-89a4f3d0829a70b655bcf7c904dc06098a09ea4a.tar.gz
markdown-89a4f3d0829a70b655bcf7c904dc06098a09ea4a.tar.bz2
markdown-89a4f3d0829a70b655bcf7c904dc06098a09ea4a.zip
Cleaned up markdown namespace. This may be a backward incompatible change for some extensions. They should be importing from markdown.util
-rw-r--r--markdown/__init__.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/markdown/__init__.py b/markdown/__init__.py
index 762da31..5c6fe08 100644
--- a/markdown/__init__.py
+++ b/markdown/__init__.py
@@ -45,12 +45,9 @@ from postprocessors import build_postprocessors
from extensions import Extension
from searializers import to_html_string, to_xhtml_string
-# For backwards compatibility in the 2.0.x series
-# The things defined in these modules started off in __init__.py so third
-# party code might need to access them here.
-from util import *
+__all__ = ['Markdown', 'markdown', 'markdownFromFile']
-logger = logging.getLogger('MARKDOWN')
+logger = logging.getLogger('MARKDOWN')
class Markdown: