From: Graham Percival Date: Fri, 19 Feb 2010 07:52:38 +0000 (+0000) Subject: Script: now works with python 2.4, thanks Peter! X-Git-Tag: release/2.13.14-1~55 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=05441c33c2b99cc106b8f6d1e90f7b473381c685;p=lilypond.git Script: now works with python 2.4, thanks Peter! --- diff --git a/scripts/convert-ly.py b/scripts/convert-ly.py index cf82b029cf..5470baef28 100644 --- a/scripts/convert-ly.py +++ b/scripts/convert-ly.py @@ -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) )