Author: tack
Date: Wed Feb 13 10:51:31 2008
New Revision: 3058
Log:
Sync to renamed decorators
Modified:
trunk/base/src/net/tls.py
trunk/base/src/notifier/jobserver.py
Modified: trunk/base/src/net/tls.py
==============================================================================
--- trunk/base/src/net/tls.py (original)
+++ trunk/base/src/net/tls.py Wed Feb 13 10:51:31 2008
@@ -43,7 +43,7 @@
It enhances the tlslite version of the class with the same name with
kaa.notifier support.
"""
- @kaa.yield_execution()
+ @kaa.coroutine()
def handshakeClientCert(self, certChain=None, privateKey=None,
session=None,
settings=None, checker=None):
"""
@@ -86,7 +86,7 @@
self.signals['tls'] = kaa.Signal()
- @kaa.yield_execution()
+ @kaa.coroutine()
def starttls_client(self, session=None):
"""
Start a certificate-based handshake in the role of a TLS client.
Modified: trunk/base/src/notifier/jobserver.py
==============================================================================
--- trunk/base/src/notifier/jobserver.py (original)
+++ trunk/base/src/notifier/jobserver.py Wed Feb 13 10:51:31 2008
@@ -50,8 +50,8 @@
class NamedThreadCallback(Callback):
"""
- A callback to run a function in a thread. This class is used by
- execute_in_thread, but it is also possible to use this call directly.
+ A callback to run a function in a thread. This class is used by the
+ threaded decorator, but it is also possible to use this call directly.
"""
def __init__(self, thread_information, func, *args, **kwargs):
Callback.__init__(self, func, *args, **kwargs)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog