diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2010-07-05 22:53:31 -0400 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2010-07-05 22:53:31 -0400 |
commit | 2eb00c816c6dc31dbbec6c47f8c7ff70ed0785d2 (patch) | |
tree | 53024beda5d31143da2a2a0a2e81fa48ca29ba14 /markdown/extensions | |
parent | a91f766c57d67cebbfc35020f89016ceb4358926 (diff) | |
download | markdown-2eb00c816c6dc31dbbec6c47f8c7ff70ed0785d2.tar.gz markdown-2eb00c816c6dc31dbbec6c47f8c7ff70ed0785d2.tar.bz2 markdown-2eb00c816c6dc31dbbec6c47f8c7ff70ed0785d2.zip |
Rename misc.py to util.py at the request of upstream
Diffstat (limited to 'markdown/extensions')
-rw-r--r-- | markdown/extensions/abbr.py | 2 | ||||
-rw-r--r-- | markdown/extensions/def_list.py | 2 | ||||
-rw-r--r-- | markdown/extensions/footnotes.py | 2 | ||||
-rw-r--r-- | markdown/extensions/headerid.py | 2 | ||||
-rw-r--r-- | markdown/extensions/rss.py | 2 | ||||
-rw-r--r-- | markdown/extensions/tables.py | 2 | ||||
-rw-r--r-- | markdown/extensions/toc.py | 2 | ||||
-rw-r--r-- | markdown/extensions/wikilinks.py | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/markdown/extensions/abbr.py b/markdown/extensions/abbr.py index e2443a7..bc346cc 100644 --- a/markdown/extensions/abbr.py +++ b/markdown/extensions/abbr.py @@ -25,7 +25,7 @@ Copyright 2007-2008 import re import markdown -from markdown.misc import etree +from markdown.util import etree # Global Vars ABBR_REF_RE = re.compile(r'[*]\[(?P<abbr>[^\]]*)\][ ]?:\s*(?P<title>.*)') diff --git a/markdown/extensions/def_list.py b/markdown/extensions/def_list.py index d16196e..b5ba92f 100644 --- a/markdown/extensions/def_list.py +++ b/markdown/extensions/def_list.py @@ -21,7 +21,7 @@ Copyright 2008 - [Waylan Limberg](http://achinghead.com) import re import markdown -from markdown.misc import etree +from markdown.util import etree class DefListProcessor(markdown.blockprocessors.BlockProcessor): diff --git a/markdown/extensions/footnotes.py b/markdown/extensions/footnotes.py index a3d540f..f9e5101 100644 --- a/markdown/extensions/footnotes.py +++ b/markdown/extensions/footnotes.py @@ -25,7 +25,7 @@ Example: import re import markdown -from markdown.misc import etree +from markdown.util import etree FN_BACKLINK_TEXT = "zz1337820767766393qq" NBSP_PLACEHOLDER = "qq3936677670287331zz" diff --git a/markdown/extensions/headerid.py b/markdown/extensions/headerid.py index de6bcf1..762301c 100644 --- a/markdown/extensions/headerid.py +++ b/markdown/extensions/headerid.py @@ -66,7 +66,7 @@ Dependencies: """ import markdown -from markdown.misc import etree +from markdown.util import etree from markdown.misc_logging import CRITICAL, message import re from string import ascii_lowercase, digits, punctuation diff --git a/markdown/extensions/rss.py b/markdown/extensions/rss.py index 64f7be1..ae43220 100644 --- a/markdown/extensions/rss.py +++ b/markdown/extensions/rss.py @@ -1,5 +1,5 @@ import markdown -from markdown.misc import etree +from markdown.util import etree DEFAULT_URL = "http://www.freewisdom.org/projects/python-markdown/" DEFAULT_CREATOR = "Yuri Takhteyev" diff --git a/markdown/extensions/tables.py b/markdown/extensions/tables.py index 009f161..952fd21 100644 --- a/markdown/extensions/tables.py +++ b/markdown/extensions/tables.py @@ -15,7 +15,7 @@ A simple example: Copyright 2009 - [Waylan Limberg](http://achinghead.com) """ import markdown -from markdown.misc import etree +from markdown.util import etree class TableProcessor(markdown.blockprocessors.BlockProcessor): diff --git a/markdown/extensions/toc.py b/markdown/extensions/toc.py index 46798f5..7a93b0f 100644 --- a/markdown/extensions/toc.py +++ b/markdown/extensions/toc.py @@ -9,7 +9,7 @@ Dependencies: """ import markdown -from markdown.misc import etree +from markdown.util import etree import re class TocTreeprocessor(markdown.treeprocessors.Treeprocessor): diff --git a/markdown/extensions/wikilinks.py b/markdown/extensions/wikilinks.py index 2da207f..f68e4e5 100644 --- a/markdown/extensions/wikilinks.py +++ b/markdown/extensions/wikilinks.py @@ -121,7 +121,7 @@ class WikiLinks(markdown.inlinepatterns.Pattern): base_url, end_url, html_class = self._getMeta() label = m.group(2).strip() url = self.config['build_url'][0](label, base_url, end_url) - a = markdown.misc.etree.Element('a') + a = markdown.util.etree.Element('a') a.text = label a.set('href', url) if html_class: |