]> git.donarmstrong.com Git - lilypond.git/commitdiff
Phillip's patch for key signature modes in musicxml.
authorGraham Percival <graham@percival-music.ca>
Fri, 25 Aug 2006 22:04:08 +0000 (22:04 +0000)
committerGraham Percival <graham@percival-music.ca>
Fri, 25 Aug 2006 22:04:08 +0000 (22:04 +0000)
ChangeLog
python/musicxml.py

index d1a80a4f8c2dcef56685cd357196ccd4d3f38999..40070ada15b2fa80a0bac3d3a05c4830f0b8aa40 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-24  Phillip Kirlin  <pkirlin@acm.org>
+
+       * python/musicxml.py: 
+       (Attributes.get_key_signature): now correctly retrieves mode from 
+       MusicXML. 
+
 2006-08-25  Han-Wen Nienhuys  <hanwen@lilypond.org>
 
        * lily/parser.yy (output_def_body): take ownership of identifier
index 519a0c3f6c531e80512987a1cbbbf00f0187da42..3466473c4352a879c2d1259e46f4f3b6d90f6f4a 100644 (file)
@@ -165,7 +165,7 @@ class Attributes (Measure_element):
         "return (fifths, mode) tuple"
 
         key = self.get_named_attribute ('key')
-        mode_node = self.get_maybe_exist_named_child ('mode')
+        mode_node = key.get_maybe_exist_named_child ('mode')
         mode = 'major'
         if mode_node:
             mode = mode_node.get_text ()