Author: dmeyer
Date: Sat Mar 18 19:02:15 2006
New Revision: 1308
Modified:
trunk/base/src/db.py
Log:
change doc to make highlight work with emacs :)
Modified: trunk/base/src/db.py
==============================================================================
--- trunk/base/src/db.py (original)
+++ trunk/base/src/db.py Sat Mar 18 19:02:15 2006
@@ -71,13 +71,13 @@
def _list_to_printable(value):
"""
Takes a list of mixed types and outputs a unicode string. For
- example, a list [42, 'foo', None, "foo's string"], this returns the
+ example, a list [42, 'foo', None, "foo's' string"], this returns the
string:
- (42, 'foo', NULL, 'foo''s string')
+ (42, 'foo', NULL, 'foo''s'' string')
Single quotes are escaped as ''. This is suitable for use in SQL
- queries.
+ queries.
"""
fixed_items = []
for item in value:
-------------------------------------------------------
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