Updated rtorrent-python library.
This commit is contained in:
1 parent
3bd1875321
commit
d851be41d3
1 file changed
+2
-2
@@ -67,8 +67,8 @@ class BasicAuthTransport(xmlrpclib.Transport):
|
|||||||
raise
|
raise
|
||||||
|
|
||||||
#discard any response data and raise exception
|
#discard any response data and raise exception
|
||||||
#if (response.getheader("content-length", 0)):
|
if (response.getheader("content-length", 0)):
|
||||||
# response.read()
|
response.read()
|
||||||
raise xmlrpclib.ProtocolError(
|
raise xmlrpclib.ProtocolError(
|
||||||
host + handler,
|
host + handler,
|
||||||
response.status, response.reason,
|
response.status, response.reason,
|
||||||
|
|||||||
Reference in new issue
Block a user