Author: tack
Date: Sun Jan 20 19:43:54 2008
New Revision: 2998
Log:
Remove debug
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:43:54 2008
@@ -127,7 +127,7 @@
# XXX This breaks existing code because now the exception is raised inside
# XXX the yield call while this was safe until now, only get_result() could
# XXX crash before that. After checking the code, _python25 should be set to
-_python25 = sys.version.split()[0] > '2.4'
+#_python25 = sys.version.split()[0] > '2.4'
_python25 = False
def _process(func, async=None):
@@ -136,7 +136,6 @@
"""
if _python25 and async is not None:
if async._exception:
- print "THROWING TO GENERATOR"
return func.throw(*async._exception)
return func.send(async._result)
return func.next()
-------------------------------------------------------------------------
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