]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/musicxml_generate_keys.py
Merge branch 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / buildscripts / musicxml_generate_keys.py
index cd0f99529fc57720d561443c2a233e56688acfba..d82b168fa96175f2a2af1e3e874fe2805a09d1da 100755 (executable)
@@ -6,11 +6,11 @@ alterations = [-1, 0, 1]
 def print_measure (nr, fifth, mode, atts = "", final = ""):
     print """    <measure number="%s">
       <attributes>
-%s        <key>
+        <key>
           <fifths>%s</fifths>
           <mode>%s</mode>
         </key>
-      </attributes>
+%s      </attributes>
       <note>
         <pitch>
           <step>C</step>
@@ -20,7 +20,7 @@ def print_measure (nr, fifth, mode, atts = "", final = ""):
         <voice>1</voice>
         <type>half</type>
       </note>
-%s    </measure>""" % (nr, atts,  fifth, mode, final)
+%s    </measure>""" % (nr, fifth, mode, atts, final)
 
 first_atts = """        <divisions>1</divisions>
         <time symbol="common">
@@ -69,4 +69,4 @@ for fifth in range(-max_range, max_range+1):
 
 print """  </part>
 </score-partwise>
-"""
\ No newline at end of file
+"""