autopkgtest: in the final API, run_id is a number, convert it to string internally

ubuntu/rebased
Paul Gevers 7 years ago
parent d0fd1872d4
commit 67becb2aec
No known key found for this signature in database
GPG Key ID: 9C5C99EB05BD750A

@ -131,7 +131,7 @@ class AutopkgtestPolicy(BasePolicy):
# Blacklisted tests don't get a version
if res['version'] is None:
res['version'] = 'blacklisted'
(trigger, src, arch, ver, passed, stamp) = ([res['trigger'], res['package'], res['arch'], res['version'], res['status'] == 'pass', res['run_id']])
(trigger, src, arch, ver, passed, stamp) = ([res['trigger'], res['package'], res['arch'], res['version'], res['status'] == 'pass', str(res['run_id'])])
self.add_trigger_to_results(trigger, src, ver, arch, stamp, passed)
self.remove_from_pending(trigger, src, arch)
self.log("Checking if britney's pending tests are known to debci")

Loading…
Cancel
Save