]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/mutopia-index.py
python typo
[lilypond.git] / buildscripts / mutopia-index.py
index f63240cec8f001395a392f64d500fb5455f2195d..c73481aabad094643f2451c76a230d1efd92aa35 100644 (file)
@@ -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,7 +198,7 @@ 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-9]+', x), allfiles)
+allfiles = filter (lambda x: not x.endswith ('snippet-map.ly') and not re.search ('lily-[0-9a-f]+', x), allfiles)
 
 gen_list (allfiles, outfile)