From 8363580306e69b6639322c2173a0817082ba9675 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Wed, 29 Oct 2025 09:26:11 +0100 Subject: [PATCH] fix: do not load secrets if not allowed --- src/rougail/user_datas.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rougail/user_datas.py b/src/rougail/user_datas.py index 96eeb9454..424ecb554 100644 --- a/src/rougail/user_datas.py +++ b/src/rougail/user_datas.py @@ -219,6 +219,7 @@ class UserDatas: 'the variable "{0}" contains secrets and should not be defined in {1}' ).format(path, self.values[values_path]["source"]) ) + self.values.pop(path) continue value = self.convert_value( path, option, options, self.values[values_path]["values"]