def clean_value(v, debug=False):
    '\n    Strip bad characters off of values\n    '
    if debug:
        print(("clean_value '%s'" % v))
    if ((type(v) == type('')) or (type(v) == type(u''))):
        v = v.strip('"\\')
    return v
Strip bad characters off of values
def clean_value(v, debug=False):
    '\n    \n    '
    if debug:
        print(("clean_value '%s'" % v))
    if ((type(v) == type()) or (type(v) == type(u))):
        v = v.strip('"\\')
    return v