changeset 1760:29595129bb5b

Fixed the version number check in the xslt parser for 4suite >= 1.0 (ported from 1.5-796)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 30 Jan 2007 22:05:35 +0100
parents 7c2e5eb299b6
children 9dc115f468e4
files MoinMoin/parser/text_xslt.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/text_xslt.py	Tue Jan 30 21:52:23 2007 +0100
+++ b/MoinMoin/parser/text_xslt.py	Tue Jan 30 22:05:35 2007 +0100
@@ -71,8 +71,10 @@
             try:
                 # location of SchemeRegisteryResolver has changed since 1.0a4
                 if ft_version >= "1.0a4":
+                if ft_version >= "1.0a4" or ft_version == "1.0" or ("1.0.1" <= ft_version <= "1.0.9"):
+                    # such version numbers suck!
                     import Ft.Lib.Resolvers # Do not remove! it looks unused, but breaks when removed!!!
-                                                                        
+
                 class MoinResolver(Uri.SchemeRegistryResolver):
                     """ supports resolving self.base_uri for actual pages in MoinMoin """
                     def __init__(self, handlers, base_scheme):