Fix logic in exception handling of unknown autopkgtest results

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

@ -685,9 +685,7 @@ class AutopkgtestPolicy(BasePolicy):
raise KeyError # fall through raise KeyError # fall through
except KeyError: except KeyError:
# Without swift we don't expect new results # Without swift we don't expect new results
if self.options.adt_swift_url.startswith('file://'): if not self.options.adt_swift_url.startswith('file://'):
pass
self.fetch_swift_results(self.options.adt_swift_url, src, arch) self.fetch_swift_results(self.options.adt_swift_url, src, arch)
# do we have one now? # do we have one now?
try: try:

Loading…
Cancel
Save