Merge lp://qastaging/~brendan-donegan/hwcert-tools/cert_report_catch_queryerror into lp://qastaging/~hardware-certification/hwcert-tools/reporting-tools

Proposed by Brendan Donegan
Status: Merged
Approved by: Sylvain Pineau
Approved revision: 130
Merged at revision: 130
Proposed branch: lp://qastaging/~brendan-donegan/hwcert-tools/cert_report_catch_queryerror
Merge into: lp://qastaging/~hardware-certification/hwcert-tools/reporting-tools
Diff against target: 28 lines (+9/-3)
1 file modified
certification_reports/certification_report.py (+9/-3)
To merge this branch: bzr merge lp://qastaging/~brendan-donegan/hwcert-tools/cert_report_catch_queryerror
Reviewer Review Type Date Requested Status
Sylvain Pineau (community) Approve
Review via email: mp+196162@code.qastaging.launchpad.net

Description of the change

SRU test reports can legitemately raise a QueryError when trying to find hardware tested with a specific package. We should catch this and ignore it so that we just get a report with no results, rather than an empty report.

To post a comment you must log in.
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

Great, thanks.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches