~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/lp_submit.py

  • Committer: Aaron Bentley
  • Date: 2010-02-08 21:01:15 UTC
  • mto: This revision was merged to the branch mainline in revision 5049.
  • Revision ID: aaron@aaronbentley.com-20100208210115-v3fkf34tlw8chsvt
Update docs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
        return initial_comment.strip().encode('utf-8')
95
95
 
96
96
    def get_initial_body(self):
 
97
        """Get a body for the proposal for the user to modify.
 
98
 
 
99
        :return: a str or None.
 
100
        """
97
101
        def list_modified_files():
98
102
            lca_tree = self.source_branch.find_lca_tree(
99
103
                self.target_branch)
168
172
 
169
173
 
170
174
def modified_files(old_tree, new_tree):
 
175
    """Return a list of paths in the new tree with modified contents."""
171
176
    for f, (op, path), c, v, p, n, (ok, k), e in new_tree.iter_changes(
172
177
        old_tree):
173
178
        if c and k == 'file':