/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to commit.py

  • Committer: Jelmer Vernooij
  • Date: 2010-07-21 20:21:17 UTC
  • Revision ID: jelmer@samba.org-20100721202117-euoadh6gttkpe2o6
Avoid using private functions to get branch config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
 
17
 
import os.path
18
17
import re
19
18
 
20
19
try:
28
27
import pango
29
28
 
30
29
from bzrlib import (
31
 
    branch,
32
30
    errors,
33
31
    osutils,
34
32
    trace,
812
810
            self.global_message = u''
813
811
            self.file_messages = {}
814
812
        else:
815
 
            config = branch.get_config()._get_branch_data_config()
 
813
            config = branch.get_config()
816
814
            self.global_message = config.get_user_option(
817
815
                'gtk_global_commit_message')
818
816
            if self.global_message is None: