Merge lp:~mbp/kanban/718564-edge into lp:kanban

Proposed by Martin Pool
Status: Merged
Approved by: Jamu Kakar
Approved revision: 23
Merged at revision: 22
Proposed branch: lp:~mbp/kanban/718564-edge
Merge into: lp:kanban
Diff against target: 44 lines (+6/-7)
2 files modified
kanban/commands.py (+4/-3)
kanban/launchpad.py (+2/-4)
To merge this branch: bzr merge lp:~mbp/kanban/718564-edge
Reviewer Review Type Date Requested Status
Jamu Kakar Approve
Review via email: mp+49910@code.launchpad.net

Description of the change

It turns out my previous branch didn't catch the other occurrence, and the way it did the first part was over-complicated. Take 2.

To post a comment you must log in.
Revision history for this message
Jamu Kakar (jkakar) wrote :

[1]

- get_person_assigned_bugs)
+ get_person_assigned_bugs,
+ SERVICE_ROOT)

Would you mind putting the new import on the same line as
get_person_assigned_bugs to match the existing formatting convention,
please?

[2]

 from launchpadlib.launchpad import Launchpad, EDGE_SERVICE_ROOT

The existing EDGE_SERVICE_ROOT import is no longer used. Can you
please remove it?

When you merge, can you please write a merge commit message using the
following format. You can see examples of it in the log for trunk.

"""
Merged $branch-name [r=$reviewer] [f=$bug-number]

$changeset-description
"""

Thanks for cleaning this up, +1!

review: Approve
Revision history for this message
Martin Pool (mbp) wrote :

Thanks

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'kanban/commands.py'
--- kanban/commands.py 2011-02-05 23:24:53 +0000
+++ kanban/commands.py 2011-02-16 00:59:52 +0000
@@ -3,12 +3,13 @@
3from bzrlib.commands import Command3from bzrlib.commands import Command
4from bzrlib.option import Option4from bzrlib.option import Option
55
6from launchpadlib.launchpad import Launchpad, EDGE_SERVICE_ROOT6from launchpadlib.launchpad import Launchpad
77
8from kanban.html import generate_html, generate_roadmap_html8from kanban.html import generate_html, generate_roadmap_html
9from kanban.launchpad import (9from kanban.launchpad import (
10 get_config_path, get_cache_path, get_launchpad, get_milestone_bugs,10 get_config_path, get_cache_path, get_launchpad, get_milestone_bugs,
11 get_person_assigned_bugs)11 get_person_assigned_bugs,
12 SERVICE_ROOT)
12from kanban.milestone import Milestone, compare_bugs13from kanban.milestone import Milestone, compare_bugs
13from kanban.roadmap import load_roadmap14from kanban.roadmap import load_roadmap
1415
@@ -29,7 +30,7 @@
29 raise RuntimeError(30 raise RuntimeError(
30 "Credentials already exist at %s" % credentials_path)31 "Credentials already exist at %s" % credentials_path)
31 launchpad = Launchpad.get_token_and_login(32 launchpad = Launchpad.get_token_and_login(
32 "kanban", EDGE_SERVICE_ROOT, get_cache_path())33 "kanban", SERVICE_ROOT, get_cache_path())
33 launchpad.credentials.save(open(credentials_path, "w"))34 launchpad.credentials.save(open(credentials_path, "w"))
3435
3536
3637
=== modified file 'kanban/launchpad.py'
--- kanban/launchpad.py 2011-02-14 09:04:27 +0000
+++ kanban/launchpad.py 2011-02-16 00:59:52 +0000
@@ -13,10 +13,8 @@
13from launchpadlib.credentials import Credentials13from launchpadlib.credentials import Credentials
14from launchpadlib.launchpad import Launchpad, EDGE_SERVICE_ROOT14from launchpadlib.launchpad import Launchpad, EDGE_SERVICE_ROOT
1515
16try:16from launchpadlib.uris import LPNET_SERVICE_ROOT
17 from launchpadlib.launchpad import LPNET_SERVICE_ROOT17SERVICE_ROOT = LPNET_SERVICE_ROOT
18except ImportError:
19 LPNET_SERVICE_ROOT = EDGE_SERVICE_ROOT.replace(".edge", "")
2018
21from kanban.milestone import Bug19from kanban.milestone import Bug
2220

Subscribers

People subscribed via source and target branches

to all changes: