Package svndump :: Module props :: Class SvnConfigParser
[show private | hide private]
[frames | no frames]

Class SvnConfigParser


A class similar to ConfigParser which actually works with SVN's config.
Method Summary
  __init__(self, filename)
Initialize the object and read the config file.
string get(self, section, key)
Returns the value for the specified key in the specified section.
((key,value)...) items(self, section)
Returns all key/value pairs in the specified section.

Method Details

__init__(self, filename)
(Constructor)

Initialize the object and read the config file.
Parameters:
filename - Name of the config file.
           (type=string)

get(self, section, key)

Returns the value for the specified key in the specified section.
Parameters:
section - Name of the section.
           (type=string)
key - Key in the section.
           (type=string)
Returns:
Value for the specified key or empty string if not found.
           (type=string)

items(self, section)

Returns all key/value pairs in the specified section.
Parameters:
section - Name of the section.
           (type=string)
Returns:
List of key/value pairs.
           (type=((key,value)...))

Generated by Epydoc 2.1 on Fri Aug 14 23:53:11 2009 http://epydoc.sf.net