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 <niels@thykier.net>
This commit is contained in:
Niels Thykier 2017-11-12 08:41:36 +00:00
parent bda39f8ca0
commit c195268019

View File

@ -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