def get_str_clean(cp_section, key, default_value):
    """take a ConfigParser section, get key and strip leading and trailing  \' and \" chars"""
    value = cp_section.get(key, default_value)
    if not value:
        return ""

    return value.lstrip('"').lstrip("'").rstrip('"').rstrip("'")