From: Graham Percival Date: Sat, 25 Aug 2012 13:56:29 +0000 (+0100) Subject: Avoid python 2.5 due to GUB using 2.4.5. X-Git-Tag: release/2.17.0-1~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2628c3c9950b6abbb7bd74747726f8c01340e032;p=lilypond.git Avoid python 2.5 due to GUB using 2.4.5. --- diff --git a/scripts/build/mass-link.py b/scripts/build/mass-link.py index 32c0c07048..7851353fe2 100644 --- a/scripts/build/mass-link.py +++ b/scripts/build/mass-link.py @@ -81,7 +81,7 @@ def force_link (src,dest): os.remove (dest) try: link (src, dest) - except OSError as e: + except OSError, e: # can't use "as" because GUB has python 2.4.5. if e.errno == 18: shutil.copy (src, dest) else: