]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/convert-ly.py
Script: now works with python 2.4, thanks Peter!
[lilypond.git] / 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) )