]> kaliko git repositories - python-musicpd.git/commitdiff
mpd.py: raise ConnectionError when trying to use an unconnected socket
authorJ. Alexander Treuman <jat@spatialrift.net>
Sun, 23 Mar 2008 19:50:48 +0000 (15:50 -0400)
committerJ. Alexander Treuman <jat@spatialrift.net>
Sun, 23 Mar 2008 19:50:48 +0000 (15:50 -0400)
ConnectionError will now be raised when trying to read from/write to a
socket before calling connect() or after calling disconnect().  In the past
it would try to complete the operation on the unconnected socket, resulting
in a socket.error exception.


No differences found