def parse_path(value):
 value = strip_spaces_and_quotes(value)
 assert valid_path(value)
 return value

def parse_path ( value ) : value = strip_spaces_and_quotes ( value ) assert valid_path ( value ) return value
parse and validate an incoming path attribute value .