Author: tack
Date: Sun Jan 20 14:27:51 2008
New Revision: 2994

Log:
Eat arguments emitted to signal handlers when connecting thread join() method,
since join() doesn't take these arguments.


Modified:
   trunk/base/src/notifier/thread.py

Modified: trunk/base/src/notifier/thread.py
==============================================================================
--- trunk/base/src/notifier/thread.py   (original)
+++ trunk/base/src/notifier/thread.py   Sun Jan 20 14:27:51 2008
@@ -188,8 +188,8 @@
         t = threading.Thread(target=async._execute)
         t.setDaemon(self._daemon)
         # connect thread.join to the InProgress
-        async.connect(t.join)
-        async.exception.connect(t.join)
+        join = lambda *args, **kwargs: t.join()
+        async.connect_both(join, join)
         # start the thread
         t.start()
         return async

-------------------------------------------------------------------------
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

Reply via email to