diff --git a/policies/sourceppa.py b/policies/sourceppa.py index 2341863..e65422a 100644 --- a/policies/sourceppa.py +++ b/policies/sourceppa.py @@ -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