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:
(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]
for d in dirs:
allfiles = allfiles + find ('*.ly.txt', d)
-print allfiles
-
gen_list (allfiles, outfile)