aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/preload/generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'ice_validator/preload/generator.py')
-rw-r--r--ice_validator/preload/generator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ice_validator/preload/generator.py b/ice_validator/preload/generator.py
index 6c0d4b8..3da4014 100644
--- a/ice_validator/preload/generator.py
+++ b/ice_validator/preload/generator.py
@@ -258,6 +258,7 @@ class AbstractPreloadGenerator(ABC):
if not value:
value = self.current_module_env.get(param_name)
if isinstance(value, list):
+ value = value.copy()
value.reverse()
self.env_cache[param_name] = value
if value and single and isinstance(value, list):