From: Reinhold Kainhofer <reinhold@kainhofer.com> Date: Wed, 2 Apr 2008 22:54:29 +0000 (+0200) Subject: MusicXML: Fix parentheses with figured bass (code and test file was wrong :( ) X-Git-Tag: release/2.11.44-1~41 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=329e506e4548441ab34dd0fd162ae2f0f5015f11;p=lilypond.git MusicXML: Fix parentheses with figured bass (code and test file was wrong :( ) --- diff --git a/input/regression/musicxml/18a-FiguredBass.xml b/input/regression/musicxml/18a-FiguredBass.xml index 986ab1eca4..d578ac71f2 100644 --- a/input/regression/musicxml/18a-FiguredBass.xml +++ b/input/regression/musicxml/18a-FiguredBass.xml @@ -67,8 +67,8 @@ <dot/> <stem>up</stem> </note> - <figured-bass> - <figure parentheses="yes"><figure-number>6</figure-number></figure> + <figured-bass parentheses="yes"> + <figure><figure-number>6</figure-number></figure> <duration>2</duration> </figured-bass> <note> diff --git a/python/musicexp.py b/python/musicexp.py index 2014b0f203..cdd0271486 100644 --- a/python/musicexp.py +++ b/python/musicexp.py @@ -1318,7 +1318,7 @@ class FiguredBassEvent (NestedMusic): notes.append (x.ly_expression ()) contents = string.join (notes) if self.parentheses: - contents = '[%]' % contents + contents = '[%s]' % contents printer ('<%s>' % contents) self.duration.print_ly (printer)