~fginther/jenkins-launchpad-plugin/mir-abi-version-patch

« back to all changes in this revision

Viewing changes to voteOnMergeProposal.py

This fixes a forgotten login call on get_launchpad which is just a method. Also adjusts the tests in a way this error is found.

Approved by Francis Ginther, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    launchpad_cachedir = os.path.join('/tmp',
28
28
                                      str(os.getpid()),
29
29
                                      '.launchpadlib')
30
 
    lp_handle = get_launchpad.login(launchpadlib_dir=launchpad_cachedir)
 
30
    lp_handle = get_launchpad(launchpadlib_dir=launchpad_cachedir)
31
31
    mp = launchpadutils.get_mp_handle_from_url(lp_handle,
32
32
                                               args['merge_proposal'])
33
33
    if not mp: