/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 commitmsgs.py

  • Committer: Vincent Ladeuil
  • Date: 2013-02-26 10:04:48 UTC
  • mto: This revision was merged to the branch mainline in revision 796.
  • Revision ID: v.ladeuil+lp@free.fr-20130226100448-buc0u114uvdtwq05
Commit messages never contain option references, trying to expand them makes no sense.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006 by Szilveszter Farkas (Phanatic) <szilveszter.farkas@gmail.com>
 
1
# Copyright (C) 2011, 2013 by Szilveszter Farkas (Phanatic) <szilveszter.farkas@gmail.com>
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
35
35
        else:
36
36
            config = branch.get_config()
37
37
            self.global_message = config.get_user_option(
38
 
                'gtk_global_commit_message')
 
38
                'gtk_global_commit_message', expand=False)
39
39
            if self.global_message is None:
40
40
                self.global_message = u''
41
 
            file_messages = config.get_user_option('gtk_file_commit_messages')
 
41
            file_messages = config.get_user_option(
 
42
                'gtk_file_commit_messages' , expand=False)
42
43
            if file_messages: # unicode and B-encoded:
43
44
                self.file_messages = bencode.bdecode(
44
45
                    file_messages.encode('UTF-8'))