Commit 7cec04f1 authored by Andreas Jung's avatar Andreas Jung

another fix for checking the docutils versions

parent a88ce090
......@@ -21,7 +21,7 @@ except ImportError:
raise ImportError, 'Please install docutils 0.3.3+ from http://docutils.sourceforge.net/#download.'
version = docutils.__version__.split('.')
if version <= ['0', '4', '0']:
if not (version >= ['0', '4', '0'] or version >= ['0', '4']):
raise ImportError, """Old version of docutils found:
Got: %(version)s, required: 0.4.0+
Please remove docutils from %(path)s and replace it with a new version. You
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment