]> git.donarmstrong.com Git - lilypond.git/commitdiff
(dump_voices): use alphabet().
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 27 Mar 2005 12:26:43 +0000 (12:26 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 27 Mar 2005 12:26:43 +0000 (12:26 +0000)
ChangeLog
scripts/abc2ly.py

index 43a329960525b65915d9312d1fb6d256f1a96b52..e2c28c486406530e2645c8087707f39e8b4faef6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-27  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * scripts/abc2ly.py (dump_voices): use alphabet(). 
+
 2005-03-25  Graham Percival  <gperlist@shaw.ca>
 
        * Documentation/topdocs/INSTALL.texi: now recommends
index 9cd88b27f869af53d0220a8b6625525e049ff03d..91344b1934b294e1849fe7bb4c79b0970ad712ad 100644 (file)
@@ -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)