]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/mutopia-index.py
*** empty log message ***
[lilypond.git] / buildscripts / mutopia-index.py
index dc8cbe54a4bd061b5b037072419367d727fc5d02..399ee211a2303b6be6b4c51d376e53c9efdd7741 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,7 @@ def gen_list(inputs, filename):
                (base, ext2) = os.path.splitext (base)          
                ext = ext2 + ext
                
-               print '%s, ' % ex
                header = read_lilypond_header(ex)
-               
                def read_dict(s, default, h =header):
                                try:
                                        ret = h[s]
@@ -214,7 +212,5 @@ allfiles = []
 for d in dirs:
        allfiles = allfiles + find ('*.ly.txt', d)
 
-print allfiles
-
 gen_list (allfiles, outfile)