~gz/hydrazine/use_bzr_config_email_561211

« back to all changes in this revision

Viewing changes to scan-merge-proposals

  • Committer: Max Bowsher
  • Author(s): mbp at sourcefrog
  • Date: 2011-04-09 07:12:38 UTC
  • mfrom: (84.1.4 trunk)
  • Revision ID: maxb@f2s.com-20110409071238-x3s4staau0gjz1ko
Switch to Launchpad.login_with for compatibility with 1.9.x in natty. Also use
recent web_link property in favour of string fiddling.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
        if mp.queue_status not in ['Needs review',
60
60
            'Approved',]:
61
61
            continue
62
 
        print hydrazine.web_url(mp.self_link)
 
62
        print mp.web_link
63
63
        # registrant is the registrant of the proposed-to-merge branch, ie
64
64
        # pretty much the owner of that branch
65
65
        registrant_name = mp.registrant.name
77
77
        print 
78
78
        print 'The following people need to sign the contributor agreement'
79
79
        for person_name, person in sorted(needs_to_sign.items()):
80
 
            real_url = hydrazine.web_url(person.self_link)
 
80
            real_url = person.web_link
81
81
            print '%s <%s>' % (person.display_name, real_url)
82
82
 
83
83
    return 0