]> git.donarmstrong.com Git - lilypond.git/commitdiff
Script: now works with python 2.4, thanks Peter!
authorGraham Percival <graham@percival-music.ca>
Fri, 19 Feb 2010 07:52:38 +0000 (07:52 +0000)
committerGraham Percival <graham@percival-music.ca>
Fri, 19 Feb 2010 07:59:18 +0000 (07:59 +0000)
scripts/convert-ly.py

index cf82b029cfd649a4294e0b0b1dceef1d126bc437..5470baef2895526ecfaacd6a6e708af83910b1ae 100644 (file)
@@ -319,7 +319,7 @@ def main ():
             do_one_file (f)
         except UnknownVersion:
             error (_ ("%s: Unable to determine version.  Skipping") % f)
-        except InvalidVersion as ex:
+        except InvalidVersion, ex:
             error (_ ("%s: Invalid version string `%s' \n"
                       "Valid version strings consist of three numbers, "
                       "separated by dots, e.g. `2.8.12'") % (f, ex.version) )