]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/mutopia-index.py
* Documentation/topdocs/INSTALL.texi (Top): change GUILE
[lilypond.git] / buildscripts / mutopia-index.py
index dc8cbe54a4bd061b5b037072419367d727fc5d02..e6a0f022b3d55cad2c522172de1653432b975b37 100644 (file)
@@ -88,7 +88,7 @@ def read_lilypond_header (fn):
                        return dict
 
        while s:
-               m = re.search (r"""\s*(\S+)\s*=\s*([^;]+)\s*;""", s)
+               m = re.search (r'''\s*(\S+)\s*=\s*"([^"]+)"''', s)
                if m == None:
                        s = ''
                else:
@@ -137,9 +137,8 @@ def gen_list(inputs, filename):
                (base, ext2) = os.path.splitext (base)          
                ext = ext2 + ext
                
-               print '%s, ' % ex
                header = read_lilypond_header(ex)
-               
+               print header
                def read_dict(s, default, h =header):
                                try:
                                        ret = h[s]