~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

Remove the only-used-once put_controlfiles, and change put_controlfile to put and put_utf8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
529
529
            cfg_obj.encode('UTF-8')
530
530
            out_file = StringIO(''.join([l+'\n' for l in cfg_obj.write()]))
531
531
            out_file.seek(0)
532
 
            self.branch.control_files.put_controlfile('branch.conf', out_file, encode=False)
 
532
            self.branch.control_files.put('branch.conf', out_file)
533
533
        finally:
534
534
            self.branch.unlock()