~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/msgeditor.py

  • Committer: Robert Collins
  • Date: 2007-04-30 05:13:58 UTC
  • mfrom: (2470 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2471.
  • Revision ID: robertc@robertcollins.net-20070430051358-8cp7kvp1q0tqhxx0
Merge Johns fix for bug 110399.

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: