From: Han-Wen Nienhuys Date: Sun, 27 Mar 2005 12:26:43 +0000 (+0000) Subject: (dump_voices): use alphabet(). X-Git-Tag: release/2.5.17~42 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=87afaa9fe4e5c3391901e6987f3b46d402122a70;p=lilypond.git (dump_voices): use alphabet(). --- diff --git a/ChangeLog b/ChangeLog index 43a3299605..e2c28c4864 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-03-27 Han-Wen Nienhuys + + * scripts/abc2ly.py (dump_voices): use alphabet(). + 2005-03-25 Graham Percival * Documentation/topdocs/INSTALL.texi: now recommends diff --git a/scripts/abc2ly.py b/scripts/abc2ly.py index 9cd88b27f8..91344b1934 100644 --- a/scripts/abc2ly.py +++ b/scripts/abc2ly.py @@ -204,7 +204,7 @@ def dump_slyrics (outf): ks.sort () for k in ks: if re.match('[1-9]', k): - m = chr(string.atoi(k) + ord ('A')) + m = alphabet(string.atoi(k)) else: m = k for i in range (len(slyrics[voice_idx_dict[k]])): @@ -219,7 +219,7 @@ def dump_voices (outf): ks.sort () for k in ks: if re.match ('[1-9]', k): - m = chr(string.atoi(k) + ord ('A')) + m = alphabet(string.atoi(k)) else: m = k outf.write ("\nvoice%s = {" % m)