Merge lp:~cr3/checkbox/1056432 into lp:checkbox

Proposed by Marc Tardif
Status: Merged
Merged at revision: 1710
Proposed branch: lp:~cr3/checkbox/1056432
Merge into: lp:checkbox
Diff against target: 33 lines (+9/-1)
2 files modified
debian/changelog (+1/-0)
plugins/suites_prompt.py (+8/-1)
To merge this branch: bzr merge lp:~cr3/checkbox/1056432
Reviewer Review Type Date Requested Status
Jeff Marcom (community) Approve
Review via email: mp+126335@code.launchpad.net

Description of the change

To post a comment you must log in.
Revision history for this message
Jeff Marcom (jeffmarcom) wrote :
Revision history for this message
Marc Tardif (cr3) wrote :

Really? The purpose of this branch was to help with your branch, not the other way around. If you need steps to reproduce the problem and validate the branch, the bug related to the branch contains all those details.

Revision history for this message
Jeff Marcom (jeffmarcom) wrote :

Looks good. Approve

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-09-24 15:05:45 +0000
3+++ debian/changelog 2012-09-25 20:38:21 +0000
4@@ -82,6 +82,7 @@
5 fake implementations of build_i18n and build_icons (LP #1049218)
6 * checkbox/parsers/description.py: Fixed the PURPOSE and STEPS parts
7 of the description parser to automatically fix bad descriptions.
8+ * plugins/suites_prompt.py: Fixed tree view in selection window (LP #1056432)
9
10 [Sean Feole]
11 * [FEATURE] scripts/battery_test: measures battery capacity before and after
12
13=== modified file 'plugins/suites_prompt.py'
14--- plugins/suites_prompt.py 2012-08-14 14:30:53 +0000
15+++ plugins/suites_prompt.py 2012-09-25 20:38:21 +0000
16@@ -114,9 +114,16 @@
17 self.store.add_pending_offset(offset)
18 tests = dict([(m["name"], m) for m in messages
19 if m.get("type") in ("test", "metric")])
20+
21+ def walk_dependencies(job, all_dependencies):
22+ for dependency in resolver.get_dependencies(job)[:-1]:
23+ walk_dependencies(dependency, all_dependencies)
24+ all_dependencies.append(job)
25+
26 for job in resolver.get_dependents():
27 suboptions = options
28- dependencies = resolver.get_dependencies(job)
29+ dependencies = []
30+ walk_dependencies(job, dependencies)
31 for dependency in dependencies:
32 if dependency in tests:
33 value = tests[dependency]["status"]

Subscribers

People subscribed via source and target branches