~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bugtracker.py

  • Committer: Jonathan Lange
  • Date: 2009-03-12 08:17:41 UTC
  • mto: This revision was merged to the branch mainline in revision 4134.
  • Revision ID: jml@canonical.com-20090312081741-jnbcc7y5uzl3wq3u
Fix the docstring.

Show diffs side-by-side

added added

removed removed

Lines of Context:
290
290
 
291
291
 
292
292
def encode_fixes_bug_urls(bug_urls):
293
 
    """Return the 'bugs' property value for a revision that fixes 'bug_urls'.
 
293
    """Get the revision property value for a commit that fixes bugs.
 
294
 
 
295
    :param bug_urls: An iterable of escaped URLs to bugs. These normally
 
296
        come from `get_bug_url`.
 
297
    :return: A string that will be set as the 'bugs' property of a revision
 
298
        as part of a commit.
294
299
    """
295
300
    return '\n'.join(('%s %s' % (url, FIXED)) for url in bug_urls)