Author: tack
Date: Sun Jan 20 19:53:03 2008
New Revision: 2999
Log:
async should be defined whether or not object is valid.
Modified:
trunk/base/src/notifier/yieldfunc.py
Modified: trunk/base/src/notifier/yieldfunc.py
==============================================================================
--- trunk/base/src/notifier/yieldfunc.py (original)
+++ trunk/base/src/notifier/yieldfunc.py Sun Jan 20 19:53:03 2008
@@ -232,13 +232,13 @@
self._yield__function = function
self._timer = Timer(self._step)
self._interval = interval
+ self._async = None
if status == None:
# No status from yield_execution, this means that the YieldFunction
# was created from the outside and the creator must call this
object
self._valid = False
return
self._valid = True
- self._async = None
if status == YieldContinue:
# yield_execution was stopped YieldContinue, start the step timer
self._timer.start(interval)
-------------------------------------------------------------------------
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