X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=buildscripts%2Fmutopia-index.py;h=57a9a3f3d51383d84b7574b3b6aa1f3e96c19857;hb=b9c3fa6bdea9d17ef1e93d3595e1b3f69233a49a;hp=564f63f72eda722e3ff4aef5bc1993613c7de705;hpb=8a6b8937356e80cf5efe4491aafeaea045a7ccdf;p=lilypond.git diff --git a/buildscripts/mutopia-index.py b/buildscripts/mutopia-index.py index 564f63f72e..57a9a3f3d5 100644 --- a/buildscripts/mutopia-index.py +++ b/buildscripts/mutopia-index.py @@ -148,7 +148,7 @@ hr { border:0; height:1; color: #000000; background-color: #000000; }\n pictures = ['jpeg', 'png', 'xpm'] lst.write ('\n') else: - print "can't find" , `file_name` + print "cannot find" , `file_name` list_item (base + ext, 'The input', 'ASCII') @@ -198,5 +198,9 @@ allfiles = [] for d in dirs: allfiles = allfiles + find ('*.ly', d) +allfiles = filter (lambda x: not x.endswith ('snippet-map.ly') and not re.search ('lily-[0-9a-f]+', x), allfiles) +allfiles = filter (lambda x: 'musicxml' not in x, allfiles) + + gen_list (allfiles, outfile)