From: Han-Wen Nienhuys Date: Sat, 31 Aug 2002 13:24:49 +0000 (+0000) Subject: use old re's for python 2.2 as well X-Git-Tag: release/1.6.2~13 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4051083d03ad8cfcecbd12dd4f77daeed871692a;p=lilypond.git use old re's for python 2.2 as well --- diff --git a/ChangeLog b/ChangeLog index d92445e498..0a3f3c9ba0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2002-08-31 Han-Wen Nienhuys + * 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. diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index 2030b14c47..cd3bf0de69 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -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