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:
self.log("Timeout downloading '%s', will retry %d more times."
% (url, retries))
self.query_lp_rest_api(obj, query, retries - 1)
return self.query_lp_rest_api(obj, query, retries - 1)
else:
raise

Loading…
Cancel
Save