Merge lp:~sbaldassin/qakit/fix_qakit_bug into lp:qakit

Proposed by Santiago Baldassin
Status: Merged
Approved by: Santiago Baldassin
Approved revision: 197
Merged at revision: 197
Proposed branch: lp:~sbaldassin/qakit/fix_qakit_bug
Merge into: lp:qakit
Diff against target: 17 lines (+3/-3)
1 file modified
qakit/ust/worker.py (+3/-3)
To merge this branch: bzr merge lp:~sbaldassin/qakit/fix_qakit_bug
Reviewer Review Type Date Requested Status
Canonical Platform QA Team Pending
Review via email: mp+308702@code.launchpad.net

Commit message

Minor fix for when the packages are not mapped

Description of the change

minor fix for when the packages are not mapped

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'qakit/ust/worker.py'
--- qakit/ust/worker.py 2016-09-15 19:32:05 +0000
+++ qakit/ust/worker.py 2016-10-18 08:45:41 +0000
@@ -72,10 +72,10 @@
72 pt = PractitestSession(self.conf.parser.get('practitest', 'project_id'),72 pt = PractitestSession(self.conf.parser.get('practitest', 'project_id'),
73 self.conf.parser.get('practitest', 'api_key'),73 self.conf.parser.get('practitest', 'api_key'),
74 self.conf.parser.get('practitest', 'api_secret_key'))74 self.conf.parser.get('practitest', 'api_secret_key'))
75 filters = pt.get_filters_for_src_pkgs(packages)75 try:
76 tests = pt.get_tests(filters)76 filters = pt.get_filters_for_src_pkgs(packages)
77 tests = pt.get_tests(filters)
7778
78 try:
79 tests_ids = ' '.join([test['___f_10589']['value'] for test in tests])79 tests_ids = ' '.join([test['___f_10589']['value'] for test in tests])
80 except KeyError:80 except KeyError:
81 tests_ids = ' '81 tests_ids = ' '

Subscribers

People subscribed via source and target branches