Mic92/python-mpd2 — pull request #2 by multani (2012-03-20 06:40:19+00:00)
Title: Revert "more readable exception handling _connect_tcp()"

This reverts commit da8cb1ae4610c848047dc91856aa25c29d8c6b16.

It turned out that da8cb1 actually changed the API of python-mpd: if an error
occurred while connecting to the MPD server, MPDClient._connect_tcp() would always
return 'ConnectionError("getaddrinfo returns an empty list"), even if getaddrinfo()
actually returned something.

I have no idea how to make getaddrinfo() returns nothing, so it's hard to test at
the moment.

Conflicts:

test.py