From: Graham Percival Date: Thu, 24 Dec 2009 21:38:06 +0000 (+0000) Subject: Doc build: rewrite to use python 2.4 only. X-Git-Tag: release/2.13.10-1~77 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2f31bde440daf05633b3486fc236e975a8f5a054;p=lilypond.git Doc build: rewrite to use python 2.4 only. GUB only has python 2.4.5, and it looks like upgrading to python 2.5 will be tricky, so I've rewritten this file to avoid using nice python 2.5+ syntax. --- diff --git a/scripts/build/create-version-itexi.py b/scripts/build/create-version-itexi.py index 3ff82f2a9c..5a64cc66eb 100644 --- a/scripts/build/create-version-itexi.py +++ b/scripts/build/create-version-itexi.py @@ -106,7 +106,12 @@ def make_manual_links(name, version): for m in manuals: # FIXME: this is disgusting manual = m - mshort = 'glossary' if m=='music-glossary' else m + #mshort = 'glossary' if m=='music-glossary' else m + # grr, GUB only has python 2.4.5. :( + if (m=='music-glossary'): + mshort = 'glossary' + else: + mshort = m make_ver_link("manual"+name+mshort.capitalize()+'Pdf', version, manual + '.pdf',