parameters: (props)
return_statement: return key_value_pairs
docstring: Parse the given property value which comes from [auto-props] section and
    returns a list whose element is a (svn_prop_key, svn_prop_value) pair.
  
    See the following doctest for example.
  
    >>> ParseSubversionPropertyValues('svn:eol-style=LF')
    [('svn:eol-style', 'LF')]
    >>> ParseSubversionPropertyValues('svn:mime-type=image/jpeg')
    [('svn:mime-type', 'image/jpeg')]
    >>> ParseSubversionPropertyValues('svn:eol-style=LF;svn:executable')
    [('svn:eol-style', 'LF'), ('svn:executable', '*')]
docstring_summary: Parse the given property value which comes from [auto-props] section and
    returns a list whose element is a (svn_prop_key, svn_prop_value) pair.
docstring_tokens: Parse the given property value which comes from [ auto - props ] section and returns a list whose element is a ( svn_prop_key svn_prop_value ) pair .
function: def ParseSubversionPropertyValues(props):
    """Parse the given property value which comes from [auto-props] section and
    returns a list whose element is a (svn_prop_key, svn_prop_value) pair.
  
    See the following doctest for example.
  
    >>> ParseSubversionPropertyValues('svn:eol-style=LF')
    [('svn:eol-style', 'LF')]
    >>> ParseSubversionPropertyValues('svn:mime-type=image/jpeg')
    [('svn:mime-type', 'image/jpeg')]
    >>> ParseSubversionPropertyValues('svn:eol-style=LF;svn:executable')
    [('svn:eol-style', 'LF'), ('svn:executable', '*')]
    """
    key_value_pairs = []
    for prop in props.split(";"):
      key_value = prop.split("=")
      assert len(key_value) <= 2
      if len(key_value) == 1:
        # If value is not given, use '*' as a Subversion's convention.
        key_value_pairs.append((key_value[0], "*"))
      else:
        key_value_pairs.append((key_value[0], key_value[1]))
    return key_value_pairs
function_tokens: def ParseSubversionPropertyValues ( props ) : key_value_pairs = [ ] for prop in props . split ( ";" ) : key_value = prop . split ( "=" ) assert len ( key_value ) <= 2 if len ( key_value ) == 1 : # If value is not given, use '*' as a Subversion's convention. key_value_pairs . append ( ( key_value [ 0 ] , "*" ) ) else : key_value_pairs . append ( ( key_value [ 0 ] , key_value [ 1 ] ) ) return key_value_pairs