Fix for python 2.5

This commit is contained in:
Dan Williams 2007-02-03 14:40:31 -05:00
parent 9dcd28e190
commit 63b2c74f90

View File

@ -159,7 +159,8 @@ class GlibXMLRPCTransport(xmlrpclib.Transport):
# @return A connection handle.
def __init__(self):
pass
if sys.version_info[:3] >= (2, 5, 0):
xmlrpclib.Transport.__init__(self, use_datetime)
def make_connection(self, host):
"""Use our own connection object so we can get its socket."""