diff options
Diffstat (limited to 'Lib/xmlrpclib.py')
-rw-r--r-- | Lib/xmlrpclib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py index 2cb4bf5..2da17c4 100644 --- a/Lib/xmlrpclib.py +++ b/Lib/xmlrpclib.py @@ -1117,8 +1117,8 @@ class Transport: if resp.status != 200: raise ProtocolError( host + handler, - errcode, errmsg, - headers + resp.status, resp.reason, + resp.getheaders() ) self.verbose = verbose |