[Zope-Checkins]
SVN: Zope/trunk/lib/python/reStructuredText/__init__.py
another fix for checking the docutils versions
Andreas Jung
andreas at andreas-jung.com
Wed Mar 15 03:17:55 EST 2006
Log message for revision 66025:
another fix for checking the docutils versions
Changed:
U Zope/trunk/lib/python/reStructuredText/__init__.py
-=-
Modified: Zope/trunk/lib/python/reStructuredText/__init__.py
===================================================================
--- Zope/trunk/lib/python/reStructuredText/__init__.py 2006-03-15 08:17:25 UTC (rev 66024)
+++ Zope/trunk/lib/python/reStructuredText/__init__.py 2006-03-15 08:17:54 UTC (rev 66025)
@@ -21,7 +21,7 @@
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
More information about the Zope-Checkins
mailing list