Author: dmeyer
Date: Tue Jan 22 14:55:53 2008
New Revision: 3005

Log:
yield_execution bugfixes

Modified:
   trunk/base/src/notifier/async.py
   trunk/beacon/src/server/server.py

Modified: trunk/base/src/notifier/async.py
==============================================================================
--- trunk/base/src/notifier/async.py    (original)
+++ trunk/base/src/notifier/async.py    Tue Jan 22 14:55:53 2008
@@ -144,7 +144,6 @@
         self.emit_when_handled(result)
         # cleanup
         self._callbacks = []
-        self.exception = None
 
 
     def throw(self, type, value, tb):
@@ -166,7 +165,6 @@
         self.exception.emit_when_handled(type, value, tb)
         # cleanup
         self._callbacks = []
-        self.exception = None
 
 
     def __call__(self, *args, **kwargs):

Modified: trunk/beacon/src/server/server.py
==============================================================================
--- trunk/beacon/src/server/server.py   (original)
+++ trunk/beacon/src/server/server.py   Tue Jan 22 14:55:53 2008
@@ -322,8 +322,8 @@
         log.info('add monitor %s', query)
         if query and 'parent' in query:
             type, id = query['parent']
-            result = yield self._db.query(type=type, id=id)[0]
-            query['parent'] = result
+            result = yield self._db.query(type=type, id=id)
+            query['parent'] = result[0]
 
         for id, client, monitors in self._clients:
             if id == client_id:

-------------------------------------------------------------------------
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

Reply via email to