Merge lp:~oem-qa/checkbox/patch_798200 into lp:checkbox

Proposed by Sylvain Pineau
Status: Merged
Merged at revision: 926
Proposed branch: lp:~oem-qa/checkbox/patch_798200
Merge into: lp:checkbox
Diff against target: 13 lines (+1/-1)
1 file modified
plugins/resource_info.py (+1/-1)
To merge this branch: bzr merge lp:~oem-qa/checkbox/patch_798200
Reviewer Review Type Date Requested Status
Marc Tardif (community) Approve
Review via email: mp+64824@code.launchpad.net

Description of the change

A fix for bug 798200

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

Looks good, thanks for the fix!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/resource_info.py'
2--- plugins/resource_info.py 2011-05-30 20:42:48 +0000
3+++ plugins/resource_info.py 2011-06-16 13:25:01 +0000
4@@ -36,8 +36,8 @@
5 values = []
6 for require in job.get("requires", []):
7 new_values = self.resources.eval(require)
8+ mask.append(bool(new_values))
9 if new_values is not None:
10- mask.append(bool(new_values))
11 values.extend(new_values)
12
13 if all(mask):

Subscribers

People subscribed via source and target branches