aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2011-04-25 22:12:24 -0400
committerWaylan Limberg <waylan@gmail.com>2011-04-25 22:12:24 -0400
commita2868cb8840493a5b6245ff4b5686dc2ecb23771 (patch)
tree222ab5a5d6e24b9812086e0d7cf78c7375cc000a
parent80aa9a2d52f2fcbffd6e15d208b8ead5886900b1 (diff)
downloadmarkdown-a2868cb8840493a5b6245ff4b5686dc2ecb23771.tar.gz
markdown-a2868cb8840493a5b6245ff4b5686dc2ecb23771.tar.bz2
markdown-a2868cb8840493a5b6245ff4b5686dc2ecb23771.zip
Correctly specify minimum version of cElementTree. Fixes #5.
-rw-r--r--markdown/etree_loader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/markdown/etree_loader.py b/markdown/etree_loader.py
index 64966b5..e1edcc3 100644
--- a/markdown/etree_loader.py
+++ b/markdown/etree_loader.py
@@ -23,8 +23,8 @@ def importETree():
message(CRITICAL, "Failed to import ElementTree")
sys.exit(1)
if etree_in_c:
- if etree_in_c.VERSION < "1.0":
- message(CRITICAL, "cElementTree version 1.0 or higher is required.")
+ if etree_in_c.VERSION < "1.0.5":
+ message(CRITICAL, "cElementTree version 1.0.5 or higher is required.")
sys.exit(1)
# Third party serializers (including ours) test with non-c Comment
etree_in_c.test_comment = Comment