~mrazik/jenkins-launchpad-plugin/rebuild_link

« back to all changes in this revision

Viewing changes to autoland.py

  • Committer: Martin Mrazik
  • Date: 2012-11-20 11:59:23 UTC
  • Revision ID: martin.mrazik@canonical.com-20121120115923-nyhtk4a00308yvfj
correct handling of autolanding

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
def change_mp_status(launchpad, mp, reason, args, vote):
57
57
    args[reason] = True
58
58
    mp_state, message, subject = build_state(args)
59
 
    message = launchpad.format_message_for_mp_update(args['build_job_url'],
60
 
                                                     message)
 
59
    message = launchpad.format_message_for_mp_update(
 
60
                                        args['build_job_url'],
 
61
                                        message,
 
62
                                        include_rebuild_link=False)
61
63
    launchpad.change_mp_status(mp, mp_state, message, subject,
62
64
                               args['revision'], vote)
63
65