summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos Evripiotis <jevripiotis@bloomberg.net>2019-03-07 11:14:27 +0000
committerJürg Billeter <j@bitron.ch>2019-03-14 16:21:43 +0000
commite23f6b397e07df6043bf7dbb64ef5426c3459aef (patch)
tree6d36077237166471042b8c3e41b7116483dd1e1b
parent913289bedb7ef24fc66cd4f2df8a96d395b4f8cb (diff)
downloadbuildstream-e23f6b397e07df6043bf7dbb64ef5426c3459aef.tar.gz
element: refactor, rm unused temp var
-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)