From 89a4f3d0829a70b655bcf7c904dc06098a09ea4a Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Mon, 20 Jun 2011 10:05:54 -0400 Subject: Cleaned up markdown namespace. This may be a backward incompatible change for some extensions. They should be importing from markdown.util --- markdown/__init__.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'markdown') 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: -- cgit v1.2.3