aboutsummaryrefslogtreecommitdiffstats
path: root/markdown/blockparser.py
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2010-07-05 22:53:31 -0400
committerToshio Kuratomi <toshio@fedoraproject.org>2010-07-05 22:53:31 -0400
commit2eb00c816c6dc31dbbec6c47f8c7ff70ed0785d2 (patch)
tree53024beda5d31143da2a2a0a2e81fa48ca29ba14 /markdown/blockparser.py
parenta91f766c57d67cebbfc35020f89016ceb4358926 (diff)
downloadmarkdown-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/blockparser.py')
-rw-r--r--markdown/blockparser.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/markdown/blockparser.py b/markdown/blockparser.py
index 915d6c0..afbdabd 100644
--- a/markdown/blockparser.py
+++ b/markdown/blockparser.py
@@ -1,5 +1,5 @@
-import misc
+import util
import odict
class State(list):
@@ -57,9 +57,9 @@ class BlockParser:
"""
# Create a ElementTree from the lines
- self.root = misc.etree.Element(misc.DOC_TAG)
+ self.root = util.etree.Element(util.DOC_TAG)
self.parseChunk(self.root, '\n'.join(lines))
- return misc.etree.ElementTree(self.root)
+ return util.etree.ElementTree(self.root)
def parseChunk(self, parent, text):
""" Parse a chunk of markdown text and attach to given etree node.