~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Robert Collins
  • Date: 2007-07-02 05:26:25 UTC
  • mfrom: (2566 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2568.
  • Revision ID: robertc@robertcollins.net-20070702052625-motr7ljwhmqvw9rg
Merge with bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
852
852
            obj = self._get_config()
853
853
            try:
854
854
                if section is not None:
855
 
                    obj[section]
 
855
                    obj = obj[section]
856
856
                result = obj[name]
857
857
            except KeyError:
858
858
                result = default