Skip to contentSkip to conversation

utils: remove BB_ENV_PASSTHROUGH from preserved_envvars()

PATCH New [email protected] 1 participant 1 message Mar 4, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 utils: remove BB_ENV_PASSTHROUGH from preserved_envvars()

From: Michael Opdenacker <[email protected]>

preserved_envvars() is used when the BB_ENV_PASSTHROUGH environment variable is not set. Therefore, its code shouldn't return this variable.

---
 lib/bb/utils.py | 1 -
 1 file changed, 1 deletion(-)
lib/bb/utils.py +0 -1
index 068b631c9..ad13d0433 100644
@@ -604,7 +604,6 @@ def preserved_envvars():
     v = [
         'BBPATH',
         'BB_PRESERVE_ENV',
-        'BB_ENV_PASSTHROUGH',
         'BB_ENV_PASSTHROUGH_ADDITIONS',
     ]
     return v + preserved_envvars_exported()
Signature · 1 line
2.34.1