--- ZSQLExtend/ZSQLExtend.py 2008/08/07 14:04:31 1.128 +++ ZSQLExtend/ZSQLExtend.py 2009/09/23 12:30:50 1.130 @@ -423,6 +423,7 @@ class ZSQLExtendFolder(Folder,Persistent # set up logging to response as plain text RESPONSE.setHeader("Content-Type","text/plain; charset=utf-8") RESPONSE.write("Import FMPXML file...\n\n") + RESPONSE.flush() loghandler = logging.StreamHandler(RESPONSE) if debug: loghandler.setLevel(logging.DEBUG) @@ -1136,7 +1137,8 @@ class ZSQLExtendFolder(Folder,Persistent table=urllib.unquote(value) elif name=="-identify": identify=urllib.unquote(value) - identify="lower("+identify.split("=")[0]+")="+sql_quote(identify.split("=")[1].lower()) + # old code did identify with lower() which doesn't work for oids + #identify="lower("+identify.split("=")[0]+")="+sql_quote(identify.split("=")[1].lower()) elif name=="-format": format=urllib.unquote(value) #elif (not (name[0]=="-" or name[0]=="_")) and (not len(value)==0):