Author: dmeyer
Date: Sun Oct 14 05:55:22 2007
New Revision: 2865
Log:
bugfix
Modified:
trunk/beacon/src/query.py
Modified: trunk/beacon/src/query.py
==============================================================================
--- trunk/beacon/src/query.py (original)
+++ trunk/beacon/src/query.py Sun Oct 14 05:55:22 2007
@@ -131,8 +131,8 @@
Iterate through theresults. This function will block using
kaa.notifier.step() if self.valid is False.
"""
- if not valid:
- log.warning('calling notifier.step for %s' self)
+ if not self.valid:
+ log.warning('calling notifier.step for %s', str(self))
while not self.valid:
kaa.notifier.step()
return self.result.__iter__()
@@ -144,8 +144,8 @@
exception if the object is still invalid or if the result is not a
list.
"""
- if not valid:
- log.warning('calling notifier.step for %s' self)
+ if not self.valid:
+ log.warning('calling notifier.step for %s', str(self))
while not self.valid:
kaa.notifier.step()
return self.result[key]
@@ -165,8 +165,8 @@
Get length of results. This function will block using
kaa.notifier.step() if self.valid is False.
"""
- if not valid:
- log.warning('calling notifier.step for %s' self)
+ if not self.valid:
+ log.warning('calling notifier.step for %s', str(self))
while not self.valid:
kaa.notifier.step()
return len(self.result)
@@ -177,8 +177,8 @@
Get the result. This function will block using kaa.notifier.step() if
self.valid is False.
"""
- if not valid:
- log.warning('calling notifier.step for %s' self)
+ if not self.valid:
+ log.warning('calling notifier.step for %s', str(self))
while not self.valid:
kaa.notifier.step()
if filter == None:
@@ -229,7 +229,7 @@
self.valid = True
self.signals['changed'].emit()
if isinstance(self._async, kaa.notifier.InProgress):
- self._async.emit(self)
+ self._async.finished(self)
self._async = kaa.notifier.YieldContinue
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog