From c195268019e3c165df334f66d0af30444784aa3c Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sun, 12 Nov 2017 08:41:36 +0000 Subject: [PATCH] piuparts: Properly discard the URL for testing The PiupartsPolicy does not use the report URL for testing, so we do not need to store it in memory. Unfortunately, the logic was broken and the discard did not happen. Signed-off-by: Niels Thykier --- britney2/policies/policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney2/policies/policy.py b/britney2/policies/policy.py index e127825..0019f15 100644 --- a/britney2/policies/policy.py +++ b/britney2/policies/policy.py @@ -613,7 +613,7 @@ class PiupartsPolicy(BasePolicy): item = next(iter(suite_data.values())) state, _, url = item if not keep_url: - keep_url = None + url = None summary[source] = (state, url) return summary