SRU ADT regression: src is a dict

sru-messages-fixes
Iain Lane 6 years ago
parent 34bd0d2706
commit c49f1ad8d5
No known key found for this signature in database
GPG Key ID: E352D5C51C5041D4

@ -101,7 +101,7 @@ class SRUADTRegressionPolicy(BasePolicy, Rest):
'informing of ADT regressions' % ( 'informing of ADT regressions' % (
source_name, version, distro_name, series_name)) source_name, version, distro_name, series_name))
return PolicyVerdict.PASS return PolicyVerdict.PASS
changes_url = self.query_lp_rest_api(src.self_link, { changes_url = self.query_lp_rest_api(src['self_link'], {
'ws.op': 'changesFileUrl', 'ws.op': 'changesFileUrl',
}) })
bugs = self.bugs_from_changes(changes_url) bugs = self.bugs_from_changes(changes_url)

Loading…
Cancel
Save