]> git.donarmstrong.com Git - lilypond.git/commitdiff
use old re's for python 2.2 as well
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 31 Aug 2002 13:24:49 +0000 (13:24 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 31 Aug 2002 13:24:49 +0000 (13:24 +0000)
ChangeLog
scripts/lilypond-book.py

index d92445e498c93a0d8795c7d9628cb815a2f20011..0a3f3c9ba064e60d4d3254cf21eb3f52d2f8ac97 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2002-08-31  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
+       * scripts/lilypond-book.py: use old re's for python 2.2 as well
+
        * debian/control: Debian patches by Anthony Fok
 
        * input/regression/lyric-combine-polyphonic.ly: new file.
index 2030b14c475e4bf05fbade711166c517e2a8206c..cd3bf0de691a53c066ecb5976caa937fd9d6cc33 100644 (file)
@@ -44,12 +44,12 @@ import getopt
 import sys
 import __main__
 
-# Handle bug in Python 1.6-2.1
+# Handle bug in Python 1.6-2.2
 #
-# there are recursion limits for some patterns in Python 1.6 til 2.1. 
+# there are recursion limits for some patterns in Python 1.6 til 2.2.
 # fix this by importing the 1.5.2 implementation pre instead. Fix by Mats.
 
-if float (sys.version[0:3]) < 2.2:
+if float (sys.version[0:3]) <= 2.2:
        try:
                import pre
                re = pre