def _escape(s, separator):
    """Escapes the specified string if it contains
    the specified separator character."""
    if separator in s:
        return "\"" + s + "\""
    else:
        return s