Author: tack
Date: Sat Apr 22 01:00:37 2006
New Revision: 1446
Modified:
trunk/base/src/db.py
Log:
Revert coersion for limit kwarg; changed my mind, this should be the caller's
responsibility.
Modified: trunk/base/src/db.py
==============================================================================
--- trunk/base/src/db.py (original)
+++ trunk/base/src/db.py Sat Apr 22 01:00:37 2006
@@ -847,9 +847,6 @@
query_values.extend(values)
if result_limit != None:
- # Coerce string of digits into integer type
- if isinstance(result_limit, basestring) and
result_limit.isdigit():
- result_limit = int(result_limit)
q.append(" LIMIT %d" % result_limit)
q = " ".join(q)
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog