~bzr-pqm/bzr/bzr.dev

  • Committer: James Westby
  • Date: 2007-06-18 20:39:06 UTC
  • mto: (2562.1.1 jam-integration)
  • Revision ID: jw+debian@jameswestby.net-20070618203906-atz57382qnf4sdc0
Fix TreeConfig to return values from sections.

  * TreeConfig would mistakenly search the top level when asked for options
    from a section. This patch makes it respect the section argument and only
    search the specified section.
  * It also adds some more tests, explicity testing the behavior for
    both keys that are present and absent in both sections and the top level,
    keys that are present in both, default values, and missing sections.
Filename Latest Rev Last Changed Committer Comment Size
..
docs 1185.12.49 19 years ago Aaron Bentley Switched to ConfigObj Diff
__init__.py 1185.12.49 19 years ago Aaron Bentley Switched to ConfigObj Empty Diff Download File
configobj.py 1963.2.6 18 years ago Robey Pointer pychecker is on crack; go back to using 'is None'. 114 KB Diff Download File