~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/msgeditor.py

  • Committer: Robert Collins
  • Date: 2005-10-06 05:13:21 UTC
  • mfrom: (1393.3.3)
  • Revision ID: robertc@robertcollins.net-20051006051321-88f1053c3bf1ca4a
merge in an adjusted version of Jelmer's empty-log detection patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
            msg.append(line)
115
115
            
116
116
        if len(msg) == 0:
117
 
            return None
 
117
            return ""
118
118
        # delete empty lines at the end
119
119
        del msg[lastline:]
120
120
        # add a newline at the end, if needed