Author: dmeyer
Date: Tue Apr 18 20:04:39 2006
New Revision: 1411
Modified:
trunk/beacon/src/query.py
Log:
add some list like functions
Modified: trunk/beacon/src/query.py
==============================================================================
--- trunk/beacon/src/query.py (original)
+++ trunk/beacon/src/query.py Tue Apr 18 20:04:39 2006
@@ -129,3 +129,8 @@
def __getitem__(self, key):
return self.result[key]
+ def index(self, item):
+ return self.result.index(item)
+
+ def __len__(self):
+ return len(self.result)
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog