Author: dmeyer
Date: Fri Mar 14 15:00:21 2008
New Revision: 3189
Log:
small bugfix
Modified:
trunk/base/src/notifier/async.py
Modified: trunk/base/src/notifier/async.py
==============================================================================
--- trunk/base/src/notifier/async.py (original)
+++ trunk/base/src/notifier/async.py Fri Mar 14 15:00:21 2008
@@ -123,7 +123,7 @@
can monitor the progress.
"""
def __init__(self):
- super(Progress, self).__init__()
+ super(InProgress.Progress, self).__init__()
self.percentage = 0
self.pos = 0
self.max = 0
@@ -206,6 +206,8 @@
This function should be called when the creating function is
done and no longer in progress.
"""
+ if self._finished:
+ raise RuntimeError('%s already finished' % self)
if isinstance(result, InProgress):
# we are still not finished, link to this new InProgress
self.link(result)
-------------------------------------------------------------------------
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