]> git.donarmstrong.com Git - lilypond.git/commitdiff
Avoid python 2.5 due to GUB using 2.4.5.
authorGraham Percival <graham@percival-music.ca>
Sat, 25 Aug 2012 13:56:29 +0000 (14:56 +0100)
committerGraham Percival <graham@percival-music.ca>
Sat, 25 Aug 2012 14:46:51 +0000 (15:46 +0100)
scripts/build/mass-link.py

index 32c0c07048dda2f02d04a11ecfb79cb028ec18ed..7851353fe261eac8c827babb9cc0b02d007a15f2 100644 (file)
@@ -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: