--- scripts/musicxml2ly.py 2006-08-26 13:22:56.000000000 +0300 +++ /home/tuukka/musicxml2ly.py 2006-09-15 19:31:59.000000000 +0300 @@ -37,12 +37,8 @@ def musicxml_duration_to_lily (mxl_note): d = musicexp.Duration () - if mxl_note.get_maybe_exist_typed_child (musicxml.Type): - d.duration_log = mxl_note.get_duration_log () - else: - d.duration_log = 0 - - d.dots = len (mxl_note.get_typed_children (musicxml.Dot)) + d.duration_log = mxl_note.get_duration_log () + d.dots = mxl_note.get_num_dots() d.factor = mxl_note._duration / d.get_length () return d