From: Graham Percival Date: Fri, 25 Aug 2006 22:04:08 +0000 (+0000) Subject: Phillip's patch for key signature modes in musicxml. X-Git-Tag: cvs/HEAD~120 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c739f6ecfbff85811abead366ba4b1d25bd1bb20;p=lilypond.git Phillip's patch for key signature modes in musicxml. --- diff --git a/ChangeLog b/ChangeLog index d1a80a4f8c..40070ada15 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-08-24 Phillip Kirlin + + * python/musicxml.py: + (Attributes.get_key_signature): now correctly retrieves mode from + MusicXML. + 2006-08-25 Han-Wen Nienhuys * lily/parser.yy (output_def_body): take ownership of identifier diff --git a/python/musicxml.py b/python/musicxml.py index 519a0c3f6c..3466473c43 100644 --- a/python/musicxml.py +++ b/python/musicxml.py @@ -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 ()