]> git.donarmstrong.com Git - lilypond.git/commit
MusicXML: Fixes of my previous commit
authorReinhold Kainhofer <reinhold@kainhofer.com>
Wed, 19 Sep 2007 01:29:56 +0000 (03:29 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Wed, 3 Oct 2007 16:39:59 +0000 (18:39 +0200)
commit5b4bdcf4e6c7c823eeda0432e37d76277768b588
treec43f19ac6adf1855f6708ad5160977da616d959b
parent8dbe802ee040d1f5fd9cc439081194d41ef4dbf2
MusicXML: Fixes of my previous commit

If a score does not use any <staff> elements, fool musicxml2ly with
a dummy value of "None". Similarly, don't use dict[staff], but dict.get
to avoid crashes in that case.

Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>
python/musicxml.py