Yeela Kaplan has uploaded a new change for review.
Change subject: janitorial: bindingxmlrpc: remove Python-2.6 specific code
......................................................................
janitorial: bindingxmlrpc: remove Python-2.6 specific code
Change-Id: I4f296c8fb57c196bff16c884d7fca67faa0722a0
Signed-off-by: Yeela Kaplan <ykaplan(a)redhat.com>
---
M vdsm/rpc/bindingxmlrpc.py
1 file changed, 0 insertions(+), 9 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/97/47997/1
diff --git a/vdsm/rpc/bindingxmlrpc.py b/vdsm/rpc/bindingxmlrpc.py
index c521cd8..30dbabc 100644
--- a/vdsm/rpc/bindingxmlrpc.py
+++ b/vdsm/rpc/bindingxmlrpc.py
@@ -25,7 +25,6 @@
import libvirt
import threading
import re
-import sys
from vdsm.password import (ProtectedPassword,
protect_passwords,
@@ -292,14 +291,6 @@
threadLocal.client = None
threadLocal.server = None
threadLocal.flowID = None
-
- if sys.version_info[:2] == (2, 6):
- # Override BaseHTTPServer.BaseRequestHandler implementation to
- # avoid pointless and slow attempt to get the fully qualified
- # host name from the client address. This method is not used
- # any more in Python 2.7.
- def address_string(self):
- return self.client_address[0]
server = xmlrpc.SimpleThreadedXMLRPCServer(
requestHandler=RequestHandler,
--
To view, visit
https://gerrit.ovirt.org/47997
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4f296c8fb57c196bff16c884d7fca67faa0722a0
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <ykaplan(a)redhat.com>