(param)
return param
Return param, or "param" if ',' or ';' or ':' is in param.
Return param, or "param" if ',' or ';' or ':' is in param.
Return param or param if or ; or : is in param .
def dquoteEscape(param):
    """
    Return param, or "param" if ',' or ';' or ':' is in param.
    """
    if param.find('"') >= 0:
        raise VObjectError("Double quotes aren't allowed in parameter values.")
    for char in ',;:':
        if param.find(char) >= 0:
            return '"' + param + '"'
    return param
def dquoteEscape ( param ) : if param . find ( '"' ) >= 0 : raise VObjectError ( "Double quotes aren't allowed in parameter values." ) for char in ',;:' : if param . find ( char ) >= 0 : return '"' + param + '"' return param