/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/config.py

Upgraded to the latest bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005 Canonical Ltd
 
1
# Copyright (C) 2005, 2007 Canonical Ltd
2
2
#   Authors: Robert Collins <robert.collins@canonical.com>
 
3
#            and others
3
4
#
4
5
# This program is free software; you can redistribute it and/or modify
5
6
# it under the terms of the GNU General Public License as published by
839
840
 
840
841
    def _get_config(self):
841
842
        try:
842
 
            obj = ConfigObj(self.branch.control_files.get('branch.conf'), 
 
843
            obj = ConfigObj(self.branch.control_files.get('branch.conf'),
843
844
                            encoding='utf-8')
844
845
        except errors.NoSuchFile:
845
846
            obj = ConfigObj(encoding='utf=8')