summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos Evripiotis <jevripiotis@bloomberg.net>2019-03-07 11:14:27 +0000
committerAngelos Evripiotis <jevripiotis@bloomberg.net>2019-03-07 11:15:20 +0000
commita009e1630a565f29ced2768740f2a9c5f9f884d1 (patch)
tree9364e9b9030ca557f71d9587d22af9e9567f0a4c
parent5370740fc1eef6daf144831b148f13f883ebcd42 (diff)
downloadbuildstream-a009e1630a565f29ced2768740f2a9c5f9f884d1.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 47ca04c28..65b9694a7 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)