summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildstream/element.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index d4e4a30ed..72b44aa9a 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -245,8 +245,7 @@ class Element(Plugin):
self.__variables = Variables(variables)
# Collect the composited environment now that we have variables
- env = self.__extract_environment(meta)
- self.__environment = env
+ self.__environment = self.__extract_environment(meta)
# Collect the environment nocache blacklist list
nocache = self.__extract_env_nocache(meta)