~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

Got writes of existing tree configs working.

Show diffs side-by-side

added added

removed removed

Lines of Context:
474
474
 
475
475
    def _get_config(self):
476
476
        try:
477
 
            obj = ConfigObj(self.branch.controlfile('branch.conf', 'rb'))
 
477
            obj = ConfigObj(self.branch.controlfile('branch.conf',
 
478
                                                    'rb').readlines())
478
479
        except errors.NoSuchFile:
479
480
            obj = ConfigObj()
480
481
        return obj