sourceppa: return when recursing

pre-rebase-2016-12-12
Iain Lane 8 years ago
parent 81d522ff29
commit 2221872e7a

@ -62,7 +62,7 @@ class SourcePPAPolicy(BasePolicy):
if retries > 1: if retries > 1:
self.log("Timeout downloading '%s', will retry %d more times." self.log("Timeout downloading '%s', will retry %d more times."
% (url, retries)) % (url, retries))
self.query_lp_rest_api(obj, query, retries - 1) return self.query_lp_rest_api(obj, query, retries - 1)
else: else:
raise raise

Loading…
Cancel
Save