NaPs/Dotconf — pull request #11 by stschiggerl (2013-08-28 14:34:13+00:00)
Title: Single sections support

This is is feature request for single sections. It introduces a new method subsection in tree.py which is similar to subsections method. However, it does not return a list but a single CfgSection. It is only allowed to be called if there is exactly one section of this type present in the configuration, so schema has _meta = {'repeat': (1,1)}. Otherwise, an error is raised.