~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
479
479
        return self.get_user_option('nickname')
480
480
 
481
481
    def _write_config_file(self):
482
 
        filename = self._get_filename()
483
 
        atomic_file = atomicfile.AtomicFile(filename)
 
482
        atomic_file = atomicfile.AtomicFile(self._get_filename())
484
483
        self._get_parser().write(atomic_file)
485
484
        atomic_file.commit()
486
485
        atomic_file.close()
487
 
        osutils.copy_ownership_from_path(filename)
488
486
 
489
487
 
490
488
class GlobalConfig(IniBasedConfig):