Author: dmeyer
Date: Fri Dec 7 16:13:20 2007
New Revision: 2913
Log:
notifier bug causing a block is gone now
Modified:
trunk/beacon/src/query.py
Modified: trunk/beacon/src/query.py
==============================================================================
--- trunk/beacon/src/query.py (original)
+++ trunk/beacon/src/query.py Fri Dec 7 16:13:20 2007
@@ -131,10 +131,8 @@
Iterate through theresults. This function will block using
kaa.notifier.step() if self.valid is False.
"""
- if not self.valid:
- log.warning('calling notifier.step for %s', str(self))
- while not self.valid:
- kaa.notifier.step()
+ while not self.valid:
+ kaa.notifier.step()
return self.result.__iter__()
@@ -144,10 +142,8 @@
exception if the object is still invalid or if the result is not a
list.
"""
- if not self.valid:
- log.warning('calling notifier.step for %s', str(self))
- while not self.valid:
- kaa.notifier.step()
+ while not self.valid:
+ kaa.notifier.step()
return self.result[key]
@@ -165,10 +161,8 @@
Get length of results. This function will block using
kaa.notifier.step() if self.valid is False.
"""
- if not self.valid:
- log.warning('calling notifier.step for %s', str(self))
- while not self.valid:
- kaa.notifier.step()
+ while not self.valid:
+ kaa.notifier.step()
return len(self.result)
@@ -177,10 +171,8 @@
Get the result. This function will block using kaa.notifier.step() if
self.valid is False.
"""
- if not self.valid:
- log.warning('calling notifier.step for %s', str(self))
- while not self.valid:
- kaa.notifier.step()
+ while not self.valid:
+ kaa.notifier.step()
if filter == None:
# no spcial filter
return self.result
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog