--- ZSQLExtend/ZSQLExtend.py 2004/09/27 20:45:45 1.37 +++ ZSQLExtend/ZSQLExtend.py 2004/09/27 20:48:54 1.38 @@ -17,7 +17,7 @@ def sql_quote(v): # quote dictionary quote_dict = {"\'": "''", "\\": "\\\\"} for dkey in quote_dict.keys(): - if find(v, dkey) >= 0: + if string.find(v, dkey) >= 0: v=join(split(v,dkey),quote_dict[dkey]) return "'%s'" % v