From 2f31bde440daf05633b3486fc236e975a8f5a054 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Thu, 24 Dec 2009 21:38:06 +0000 Subject: [PATCH] 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. --- scripts/build/create-version-itexi.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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', -- 2.39.2