From 05441c33c2b99cc106b8f6d1e90f7b473381c685 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Fri, 19 Feb 2010 07:52:38 +0000 Subject: [PATCH] Script: now works with python 2.4, thanks Peter! --- scripts/convert-ly.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ) -- 2.39.2