Author: dmeyer
Date: Thu Jun 28 20:17:13 2007
New Revision: 2748
Modified:
trunk/base/src/notifier/async.py
Log:
add get_results function
Modified: trunk/base/src/notifier/async.py
==============================================================================
--- trunk/base/src/notifier/async.py (original)
+++ trunk/base/src/notifier/async.py Thu Jun 28 20:17:13 2007
@@ -107,6 +107,15 @@
return self._result
+ def get_result(self):
+ """
+ Get the results when finished.
+ The function will either return the result or raise the exception
+ provided to the exception function.
+ """
+ return self()
+
+
def _connect(self, callback, args = (), kwargs = {}, once = False,
weak = False, pos = -1):
"""
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog