]> kaliko git repositories - python-musicpd.git/commit
mpd.py: clear command list if an exception is raised
authorJ. Alexander Treuman <jat@spatialrift.net>
Thu, 15 Jul 2010 21:52:54 +0000 (17:52 -0400)
committerJ. Alexander Treuman <jat@spatialrift.net>
Thu, 15 Jul 2010 21:52:54 +0000 (17:52 -0400)
commitacefec82bb1b6dfd1230ecf8665a999f35aff300
treed604442a63a4a73efef8db96e635fe2b2650e0d4
parenta55e3f15d6d53355acae2d809e1a5c512115b0dc
mpd.py: clear command list if an exception is raised

This fixes a very longstanding bug where an MPD command error would raise
an exception, but not clear the command list. This would prevent further
commands from being executed until the command list was completed, which
was impossible since the MPD command error broke out of the command list
on the server side.
mpd.py