Reraise exception without losing the traceback (fixes #173)

This commit is contained in:
Stein Magnus Jodal 2012-09-03 16:09:14 +02:00
parent 1c77f9178b
commit 09b02f0558

View File

@ -196,7 +196,7 @@ def _list_build_query(field, mpd_query):
if error.message == 'No closing quotation':
raise MpdArgError(u'Invalid unquoted character', command=u'list')
else:
raise error
raise
tokens = [t.decode('utf-8') for t in tokens]
if len(tokens) == 1:
if field == u'album':