def getCSVelement(v):
	v = cstr(v)
	if not v: return ''
	if (',' in v) or ('\n' in v) or ('"' in v):
		if '"' in v: v = v.replace('"', '""')
		return '"'+v+'"'
	else: return v or ''
Wait for one synchronisation object to fire.
dataset/ETHPy150Open frappe/frappe/frappe/utils/__init__.py/getCSVelement--crossover with--dataset/ETHPy150Open tjguk/winsys/winsys/ipc.py/wait