these lines cause an error

This commit is contained in:
Yann Leboulanger 2005-05-20 14:46:27 +00:00
parent 715fde5a87
commit 0e7e396289
1 changed files with 2 additions and 2 deletions

View File

@ -204,8 +204,8 @@ class TLS(PlugIn):
""" Unregisters TLS handler's from owner's dispatcher. Take note that encription """ Unregisters TLS handler's from owner's dispatcher. Take note that encription
can not be stopped once started. You can only break the connection and start over.""" can not be stopped once started. You can only break the connection and start over."""
self._owner.UnregisterHandler('features',self.FeaturesHandler,xmlns=NS_STREAMS) self._owner.UnregisterHandler('features',self.FeaturesHandler,xmlns=NS_STREAMS)
self._owner.UnregisterHandlerOnce('proceed',self.StartTLSHandler,xmlns=NS_TLS) # self._owner.UnregisterHandlerOnce('proceed',self.StartTLSHandler,xmlns=NS_TLS)
self._owner.UnregisterHandlerOnce('failure',self.StartTLSHandler,xmlns=NS_TLS) # self._owner.UnregisterHandlerOnce('failure',self.StartTLSHandler,xmlns=NS_TLS)
def FeaturesHandler(self, conn, feats): def FeaturesHandler(self, conn, feats):
""" Used to analyse server <features/> tag for TLS support. """ Used to analyse server <features/> tag for TLS support.