# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1558270358 -7200
#      Sun May 19 14:52:38 2019 +0200
# Node ID 5b33a783ff3518bc77b33b0156d648dfd0a887b3
# Parent  646fcbc5d0ec053b48afe7ad35c6fad115090a7e
exchange: make sure we copy the parameters list before editing it

Otherwise, we can modify an inherited list, affecting all other benchmark.

diff --git a/benchmarks/basic_commands.py b/benchmarks/basic_commands.py
--- a/benchmarks/basic_commands.py
+++ b/benchmarks/basic_commands.py
@@ -287,6 +287,7 @@
 
 def setup_role(cls):
     """install the right partial variants for the configured action"""
+    cls.params = cls.params[:]
     cls.params[cls._partials_idx] = list(sorted(cls.role_data))
     return cls