Author: dmeyer
Date: Sat Jan 20 19:06:18 2007
New Revision: 2430
Modified:
trunk/base/src/notifier/yieldfunc.py
Log:
support yieldfunctions without return
Modified: trunk/base/src/notifier/yieldfunc.py
==============================================================================
--- trunk/base/src/notifier/yieldfunc.py (original)
+++ trunk/base/src/notifier/yieldfunc.py Sat Jan 20 19:06:18 2007
@@ -201,6 +201,8 @@
result = self._yield__function()
except (SystemExit, KeyboardInterrupt):
sys.exit(0)
+ except StopIteration:
+ result = None
except Exception, e:
log.exception('YieldFunction')
self.exception(e)
-------------------------------------------------------------------------
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