Changeset 179

Show
Ignore:
Timestamp:
06/13/07 18:49:54 (17 years ago)
Author:
jerome
Message:

Fixed a problem with Python 2.5

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykoticon/trunk/bin/pykoticon

    r177 r179  
    9696        """Imitate what is in SimpleXMLRPCServer.py but with a threaded TCP server instead.""" 
    9797        self.logRequests = logRequests 
    98         SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self) 
     98        try : 
     99            SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self) 
     100        except TypeError :     
     101            SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self, False, None) 
    99102        SocketServer.ThreadingTCPServer.__init__(self, addr, requestHandler) 
    100103