~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Robert Collins
  • Date: 2005-10-14 03:55:02 UTC
  • mto: This revision was merged to the branch mainline in revision 1456.
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051014035502-e2b68b86f17c52fc
explicit over glob test passes

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
        TODO: perhaps return a NullSection that thunks through to the 
145
145
              global config.
146
146
        """
147
 
        return 'http://www.example.com'
 
147
        sections = self._get_branches_config_parser().sections()
 
148
        for section in sections:
 
149
            if section == self.location:
 
150
                return section
148
151
 
149
152
    def _get_user_id(self):
150
153
        return self._get_global_config()._get_user_id()