~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/msgeditor.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-04-30 02:23:43 UTC
  • mfrom: (2466.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070430022343-wnbvslzfz6fpyyj7
(robertc) Fix the bzr commit message to be in text mode. (Alexander Belchenko)

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
 
104
104
    msgfilename = None
105
105
    try:
106
 
        tmp_fileno, msgfilename = tempfile.mkstemp(prefix='bzr_log.', dir=u'.')
 
106
        tmp_fileno, msgfilename = tempfile.mkstemp(prefix='bzr_log.',
 
107
                                                   dir=u'.',
 
108
                                                   text=True)
107
109
        msgfile = os.fdopen(tmp_fileno, 'w')
108
110
        try:
109
111
            if start_message is not None: