Author: dmeyer
Date: Mon Jan 22 17:04:35 2007
New Revision: 2435
Modified:
trunk/base/src/notifier/async.py
Log:
Always use once=True for InProgress
Modified: trunk/base/src/notifier/async.py
==============================================================================
--- trunk/base/src/notifier/async.py (original)
+++ trunk/base/src/notifier/async.py Mon Jan 22 17:04:35 2007
@@ -103,3 +103,12 @@
if self._exception:
raise self._exception
return self._result
+
+
+ def _connect(self, callback, args = (), kwargs = {}, once = False,
+ weak = False, pos = -1):
+ """
+ Internal connect function. Always set once to True because InProgress
+ will be emited only once.
+ """
+ return Signal._connect(self, callback, args, kwargs, True, weak, pos)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog